Prevent default action when closing zen mode
This commit is contained in:
parent
8fd0d74bd8
commit
d5badd7ef6
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ class @ZenMode
|
|||
$(document).on 'keydown', (e) =>
|
||||
if e.keyCode is $.ui.keyCode.ESCAPE
|
||||
@exitZenMode()
|
||||
e.preventDefault()
|
||||
|
||||
$(window).on 'hashchange', @updateZenModeFromLocationHash
|
||||
|
||||
|
|
Loading…
Reference in a new issue