From: Vincent Vanwaelscappel Date: Fri, 14 Mar 2014 16:24:42 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=999e7bde014bf8aaab4630ba4f871c719985c2d9;p=fluidbook-html5.git --- diff --git a/js/main.js b/js/main.js index 14308969..704071ad 100644 --- a/js/main.js +++ b/js/main.js @@ -252,12 +252,12 @@ try { fluidbook.changeAddress(); return false; }); - + $(document).on('webkitfullscreenchange mozfullscreenchange msfullscreenchange fullscreenchange', function() { resize(); - setTimeout(function(){ + setTimeout(function() { resize(); - },100); + }, 100); }); $(document).on('click', "#popinOverlay", function() { @@ -395,6 +395,8 @@ try { if (!startAfterLoading) { fluidbook.changeAddress(); } + + loadJsLibrary('data/search.index.js'); } } catch (err) {