]> _ Git - fluidbook-html5.git/commitdiff
fix #4666
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 16:15:19 +0000 (17:15 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 4 Jan 2022 16:15:19 +0000 (17:15 +0100)
js/libs/fluidbook/fluidbook.nav.js

index 4fa0b627e22e1a28525fe754400241f751d1c780..7c9d672e701976294844ace2dcaa61c216b6616f 100644 (file)
@@ -500,7 +500,7 @@ FluidbookNav.prototype = {
                 // __('zoom out')
                 link = this.addLink(navType, 'nav-zoomin', '#', 'zoomin', 'zoom in', 'zoom in');
                 link = this.addLink(navType, 'nav-zoomout', '#', 'zoomout', 'zoom out', 'zoom out');
-            } else if (icon === 'fullscreen' && this.fluidbook.support.fullscreen && !this.fluidbook.settings.phonegap) {
+            } else if (icon === 'fullscreen' && this.fluidbook.settings.fullscreen && this.fluidbook.support.fullscreen && !this.fluidbook.settings.phonegap) {
                 // __('switch between fullscreen and normal')
                 link = this.addLink(navType, 'nav-' + icon, '#', icon, 'full screen', 'switch between fullscreen and normal', 'F11');
             } else if (icon === 'sound' && this.fluidbook.sound.enabled) {