Commit 0efa58cc authored by Vadim Makeev's avatar Vadim Makeev

minor tweaks pushed just to merge branches

parent 7cb37302
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
updateProgress(); updateProgress();
if(!isFull()) history.pushState(null, null, url.pathname + '?full' + url.hash); if(!isFull()) history.pushState(null, null, url.pathname + '?full' + url.hash);
window.addEventListener('resize', resizeFull, false); window.addEventListener('resize', resizeFull, false);
document.addEventListener('keyup', exitFullEsc, false); document.addEventListener('keydown', exitFullEsc, false);
} }
function exitFull() { function exitFull() {
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
history.pushState(null, null, url.pathname.replace('?full', '')); history.pushState(null, null, url.pathname.replace('?full', ''));
url.hash = hash; url.hash = hash;
window.removeEventListener('resize', resizeFull, false); window.removeEventListener('resize', resizeFull, false);
document.removeEventListener('keyup', exitFullEsc, false); document.removeEventListener('keydown', exitFullEsc, false);
} }
function exitFullEsc(e) { function exitFullEsc(e) {
......
...@@ -88,7 +88,6 @@ BODY { ...@@ -88,7 +88,6 @@ BODY {
background:rgba(0, 0, 0, 0.4); background:rgba(0, 0, 0, 0.4);
} }
/* Full /* Full
---------------------------------------- */ ---------------------------------------- */
.full { .full {
......
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