Fix for latest Chrome where the fullscreen styles were not applied.
This commit is contained in:
parent
4cc793adb2
commit
7f989837a9
|
@ -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