From: Vincent Vanwaelscappel Date: Wed, 23 Mar 2022 13:16:53 +0000 (+0100) Subject: wait #5171 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=ef7e16470e069d78326d97e03c4d6452dd9d4abc;p=fluidbook-html5.git wait #5171 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index f33dac82..1841a159 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -244,7 +244,7 @@ FluidbookMenu.prototype = { view += markup; view += ''; - 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) {