Merge pull request #22 from philippbosch/gh-pages
Latest Chrome does not work in full-screen mode
This commit is contained in:
commit
ff6a9063fa
|
@ -64,6 +64,13 @@
|
||||||
function updateView() {
|
function updateView() {
|
||||||
linkScreen.disabled = fullscreen;
|
linkScreen.disabled = fullscreen;
|
||||||
linkProjection.disabled = !fullscreen;
|
linkProjection.disabled = !fullscreen;
|
||||||
|
if (fullscreen) {
|
||||||
|
linkScreen.setAttribute('disabled', 'disabled');
|
||||||
|
linkProjection.removeAttribute('disabled');
|
||||||
|
} else {
|
||||||
|
linkScreen.removeAttribute('disabled');
|
||||||
|
linkProjection.setAttribute('disabled', 'disabled');
|
||||||
|
}
|
||||||
if(!hashList[url.hash]) turnSlide(0);
|
if(!hashList[url.hash]) turnSlide(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue