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() {
|
||||
linkScreen.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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue