Commit 7f989837 authored by Philipp Bosch's avatar Philipp Bosch

Fix for latest Chrome where the fullscreen styles were not applied.

parent 4cc793ad
...@@ -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