Unified · Split
| @@ -58,7 +58,7 @@ class app.Shortcuts · 57 unmodified lines | |||
| 58 | when 27 | 58 | when 27 |
| 59 | @trigger 'escape' | 59 | @trigger 'escape' |
| 60 | when 32 | 60 | 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) |
| 62 | @trigger 'pageDown' | 62 | @trigger 'pageDown' |
| 63 | false | 63 | false |
| 64 | when 33 | 64 | when 33 |