From 0efa58cc1f92e64521d472a2ff1bc9ba4246bae4 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Sat, 16 Jul 2011 15:40:04 +0400 Subject: [PATCH] minor tweaks pushed just to merge branches --- scripts/script.js | 4 ++-- themes/ribbon/styles/style.css | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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 {