History

Fix space key not activating links and checkboxes

Thibaut Courouble committed 9 years ago

Commit aed1d8e1 parent 655beec1 file · +1 −1Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/app/shortcuts.coffee+1−1
@@ -58,7 +58,7 @@ class app.Shortcuts · 57 unmodified lines
5858 when 27
5959 @trigger 'escape'
6060 when 32
61− if not @lastKeypress or @lastKeypress < Date.now() - 500
61+ if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 500)
6262 @trigger 'pageDown'
6363 false
6464 when 33