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

Merge pull request #7805 from Razer6/improve/zen

Prevent default action when closing zen mode
parents 8fd0d74b d5badd7e
No related branches found
No related tags found
No related merge requests found
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