Commit 35f6d841 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

Don't scroll in the document window when the dropdown_menu is being scrolled

parent 7ad299e7
......@@ -524,9 +524,10 @@ var canvas_events = (function() {
li = li.nextElementSibling ||
li.parentElement.firstElementChild;
dropdown_highlight_elem(li);
break;
default:
}
evt.preventDefault();
},
dropdown_menu_keypress: function(evt) {
var li_nodes = document.querySelectorAll("#dropdown_list li"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment