]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Mar 2014 16:24:42 +0000 (16:24 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 14 Mar 2014 16:24:42 +0000 (16:24 +0000)
js/main.js

index 14308969b0b014e44f202be3f59aa2fa8ffe7bd1..704071ade214f377f3433fc8af4064bef24d1d56 100644 (file)
@@ -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) {