]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/Resources/static/themes/_global/index.js
Fix Firefox mobile unneeded resize
[github/wallabag/wallabag.git] / app / Resources / static / themes / _global / index.js
index 3ec26488272b5da2fe2aa61a0d0203b66fd1ca3f..b810e5d7358d53a13a382807e87379477079efaa 100644 (file)
@@ -9,7 +9,7 @@ import 'material-design-icons-iconfont/dist/material-design-icons.css';
 import 'lato-font/css/lato-font.css';
 import './global.scss';
 
-/* Shortcuts*/
+/* Shortcuts */
 import './js/shortcuts/entry';
 import './js/shortcuts/main';
 
@@ -65,7 +65,7 @@ $(document).ready(() => {
     retrievePercent(x.entryId);
 
     $(window).resize(() => {
-      retrievePercent(x.entryId);
+      retrievePercent(x.entryId, true);
     });
   }
 });