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
58 when 2758 when 27
59 @trigger 'escape'59 @trigger 'escape'
60 when 3260 when 32
61 if not @lastKeypress or @lastKeypress < Date.now() - 50061 if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 500)
62 @trigger 'pageDown'62 @trigger 'pageDown'
63 false63 false
64 when 3364 when 33