]> _ Git - fluidbook-html5.git/commitdiff
fix #3577 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Apr 2020 17:11:38 +0000 (19:11 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Apr 2020 17:11:38 +0000 (19:11 +0200)
js/libs/fluidbook/fluidbook.widget.js

index ebb007a5ae8598bb85e95f197a24c8a1a4484188..0984232ab1e45dc5e3a61cf328845e2bbaee4649 100644 (file)
@@ -36,7 +36,7 @@ FluidbookWidget.prototype = {
         if (active) {
             if (this.action === 'fullscreen') {
                 screenfull.toggle();
-            } else if (this.action === 'popup') {
+            } else if (this.action === 'tab') {
                 top.window.open(window.location.toString().replace("widget=1", "widget=0"));
             }
         }