Commit fda61a04 authored by Robert Schilling's avatar Robert Schilling

Merge pull request #7805 from Razer6/improve/zen

Prevent default action when closing zen mode
parents 8fd0d74b d5badd7e
......@@ -16,6 +16,7 @@ class @ZenMode
$(document).on 'keydown', (e) =>
if e.keyCode is $.ui.keyCode.ESCAPE
@exitZenMode()
e.preventDefault()
$(window).on 'hashchange', @updateZenModeFromLocationHash
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment