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

This commit is contained in:
Philipp Bosch 2011-05-26 11:06:36 +02:00
parent 4cc793adb2
commit 7f989837a9
1 changed files with 7 additions and 0 deletions

View File

@ -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);
}