Commit ff6a9063 authored by Vadim Makeev's avatar Vadim Makeev

Merge pull request #22 from philippbosch/gh-pages

Latest Chrome does not work in full-screen mode
parents 4cc793ad 7f989837
...@@ -64,6 +64,13 @@ ...@@ -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);
} }
......
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