From fcb557f3c566ba2678c56cbb8520894428270f0f Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 19 Dec 2018 18:53:32 +0100 Subject: [PATCH] #2249 --- js/libs/fluidbook/fluidbook.menu.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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': -- 2.39.5