]> _ Git - fluidbook-html5.git/commitdiff
wip #3577 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Apr 2020 16:53:59 +0000 (18:53 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 8 Apr 2020 16:53:59 +0000 (18:53 +0200)
js/libs/fluidbook/fluidbook.widget.js

index cd09fbb9ef89a9bc624838f361cd983f22a3cd00..3c1a588682d9fb0b753fd41405385c856f1388ff 100644 (file)
@@ -30,7 +30,7 @@ FluidbookWidget.prototype = {
             if (this.action === 'fullscreen') {
                 screenfull.toggle();
             } else if (this.action === 'popup') {
-                top.window.open(window.location);
+                top.window.open(window.location.toString().replace("widget=1", "widget=0"));
             }
         }
         return !active;