minor tweaks pushed just to merge branches

This commit is contained in:
Vadim Makeev 2011-07-16 15:40:04 +04:00
parent 7cb37302c2
commit 0efa58cc1f
2 changed files with 2 additions and 3 deletions

View File

@ -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 @@
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) {

View File

@ -88,7 +88,6 @@ BODY {
background:rgba(0, 0, 0, 0.4); background:rgba(0, 0, 0, 0.4);
} }
/* Full /* Full
---------------------------------------- */ ---------------------------------------- */
.full { .full {