]> _ Git - fluidbook-html5.git/commitdiff
#2249
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Dec 2018 17:53:32 +0000 (18:53 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 19 Dec 2018 17:53:32 +0000 (18:53 +0100)
js/libs/fluidbook/fluidbook.menu.js

index 61570a2030c0f75a6997da6cc9be868669b90289..7fe421850dac62bd289d659a6eadbb36d4831cfd 100644 (file)
@@ -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':