]> _ Git - fluidbook-html5.git/commitdiff
fix #3575 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Apr 2020 15:56:46 +0000 (17:56 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Apr 2020 15:56:46 +0000 (17:56 +0200)
js/libs/fluidbook/fluidbook.widget.js

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