]> _ Git - fluidbook-html5.git/commitdiff
wait #5171 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Mar 2022 13:16:53 +0000 (14:16 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 23 Mar 2022 13:16:53 +0000 (14:16 +0100)
js/libs/fluidbook/fluidbook.menu.js

index f33dac822ccbde21f77c37943d516b16f7649dfa..1841a159ac6f67a7f0c0fac0ef1ac188d1a4e628 100644 (file)
@@ -244,7 +244,7 @@ FluidbookMenu.prototype = {
         view += markup;
         view += '</div></div>';
 
-        this.viewWrap(view, 'iframe', maxWidth + ' dir="ltr"', '', false, hash);
+        this.viewWrap(view, 'iframe', maxWidth + ' dir="ltr" data-hash="#/iframe"' , '', false, hash);
         if (callback != undefined) {
             callback();
         }
@@ -597,7 +597,9 @@ FluidbookMenu.prototype = {
         } else {
             this._closeView(callback, all, animate);
         }
-    }, _closeView: function (callback, all, animate) {
+    },
+
+    _closeView: function (callback, all, animate) {
 
         var $this = this;
         if (all == undefined) {