diff --git a/scripts/script.js b/scripts/script.js index 1a5ebf8..1e45a42 100755 --- a/scripts/script.js +++ b/scripts/script.js @@ -79,7 +79,7 @@ updateProgress(); if(!isFull()) history.pushState(null, null, url.pathname + '?full' + url.hash); window.addEventListener('resize', resizeFull, false); - document.addEventListener('keyup', exitFullEsc, false); + document.addEventListener('keydown', exitFullEsc, false); } function exitFull() { @@ -89,7 +89,7 @@ history.pushState(null, null, url.pathname.replace('?full', '')); url.hash = hash; window.removeEventListener('resize', resizeFull, false); - document.removeEventListener('keyup', exitFullEsc, false); + document.removeEventListener('keydown', exitFullEsc, false); } function exitFullEsc(e) { diff --git a/themes/ribbon/styles/style.css b/themes/ribbon/styles/style.css index fc1d03c..27535ef 100644 --- a/themes/ribbon/styles/style.css +++ b/themes/ribbon/styles/style.css @@ -88,7 +88,6 @@ BODY { background:rgba(0, 0, 0, 0.4); } - /* Full ---------------------------------------- */ .full {