Skip to content
Snippets Groups Projects
Commit d5badd7e authored by Robert Schilling's avatar Robert Schilling
Browse files

Prevent default action when closing zen mode

parent 8fd0d74b
No related branches found
No related tags found
1 merge request!7805Prevent default action when closing zen mode
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment