From: Vincent Vanwaelscappel Date: Wed, 19 Dec 2018 17:53:32 +0000 (+0100) Subject: #2249 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=fcb557f3c566ba2678c56cbb8520894428270f0f;p=fluidbook-html5.git #2249 --- diff --git a/js/libs/fluidbook/fluidbook.menu.js b/js/libs/fluidbook/fluidbook.menu.js index 61570a20..7fe42185 100644 --- a/js/libs/fluidbook/fluidbook.menu.js +++ b/js/libs/fluidbook/fluidbook.menu.js @@ -64,16 +64,16 @@ FluidbookMenu.prototype = { if (typeof param1 === 'string') { param1 = decodeURIComponent(param1); } - }catch (e) { - + } catch (e) { + } - + try { if (typeof param2 === 'string') { param2 = decodeURIComponent(param2); } - }catch (e) { - + } catch (e) { + } var $this = this; @@ -592,7 +592,7 @@ FluidbookMenu.prototype = { } break; case 'text': - w = 600; + w = parseInt(this.fluidbook.datas.textPopupWidth); fullscreen = (w >= ww * 0.9); break; case 'index':