History

Fix issue when hitting escaping key in single doc mode

Thibaut Courouble committed 9 years ago

Commit 7947f2d1 parent b353d3a1 file · +1 −0Browse files

Unified · Split

assets/javascripts/app/shortcuts.coffee+1−0
@@ -57,6 +57,7 @@ class app.Shortcuts · 56 unmodified lines
5757 @trigger 'enter'
5858 when 27
5959 @trigger 'escape'
60+ false
6061 when 32
6162 if event.target.type is 'search' and (not @lastKeypress or @lastKeypress < Date.now() - 500)
6263 @trigger 'pageDown'