Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
David MacDonald
purr-data
Commits
35f6d841
Commit
35f6d841
authored
Jun 21, 2017
by
Jonathan Wilkes
Browse files
Don't scroll in the document window when the dropdown_menu is being scrolled
parent
7ad299e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pd_canvas.js
View file @
35f6d841
...
...
@@ -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
"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment