]> _ Git - fluidbook-html5.git/commitdiff
done #1821 @0:20
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Dec 2017 13:26:50 +0000 (14:26 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Dec 2017 13:26:50 +0000 (14:26 +0100)
js/libs/fluidbook/fluidbook.js

index e166760dd7ba689e8d195a3f1f7ea0c2e4f9b610..c8ca6b0ef2dfd27b1ddabdce9cad499454ecdac2 100644 (file)
@@ -1044,6 +1044,11 @@ Fluidbook.prototype = {
         if (this.datas.phonegap && mtarget == '_blank') {
             options += ',zoom=yes,enableViewportScale=yes'
         }
+
+        if (!this.datas.phonegap && mtarget == '_blank') {
+            options = undefined;
+            replace = undefined;
+        }
         // Open the window
         var w = window.open(url, mtarget, options, replace);
         try {