]> _ Git - fluidbook-html5.git/commitdiff
#811
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Aug 2017 12:47:39 +0000 (14:47 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 28 Aug 2017 12:47:39 +0000 (14:47 +0200)
js/libs/fluidbook/fluidbook.js

index ce52fe775430a883951ea83f52d938402d92f117..6337f5428c278ef2e9689f8138c96dc396d58ac7 100644 (file)
@@ -626,7 +626,11 @@ Fluidbook.prototype = {
         this.hideUnnecessaryButtons(page);
         var animationDuration = d <= 1 ? 0 : parseFloat(this.datas.mobileTransitionDuration);
         this.updateShadows(page, animationDuration);
-        this.search.clearHighlights();
+        try{
+            this.search.clearHighlights();
+        }catch (err){
+
+        }
     },
     afterTransition: function (page) {
         if (this.transitionning === false) {