minor tweaks pushed just to merge branches
This commit is contained in:
parent
7cb37302c2
commit
0efa58cc1f
|
@ -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) {
|
||||||
|
|
|
@ -88,7 +88,6 @@ BODY {
|
||||||
background:rgba(0, 0, 0, 0.4);
|
background:rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Full
|
/* Full
|
||||||
---------------------------------------- */
|
---------------------------------------- */
|
||||||
.full {
|
.full {
|
||||||
|
|
Loading…
Reference in New Issue