]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 29 Nov 2013 12:42:52 +0000 (12:42 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 29 Nov 2013 12:42:52 +0000 (12:42 +0000)
js/libs/fluidbook/fluidbook.loader.js
js/libs/fluidbook/fluidbook.support.js

index ae32a5962b5c1e8f5962cd43c4fbfe38ec6e9ce9..3576571247fd0eddef4a212f0c5d62f643e54ea6 100644 (file)
@@ -4,7 +4,7 @@ function FluidbookLoader(fluidbook) {
        this.backgrounds = [];
        this.links = [];
        this.toPreload = [];
-       this.numPreload = 0;
+       this.numPreload = 6;
        this.imagesErrors = [];
  
 }
index 63397b0fb64a3776faf58c125f781fa2f9a7868e..1d5cffe1b3d0bae57ed5537f15e399e5738d147d 100644 (file)
@@ -10,11 +10,9 @@ function FluidbookSupport(fluidbook) {
 
        this.transitionendevent = null;
 
-       if (window.resolution == 'auto') {
-               this.resolution = Modernizr.mq('(-webkit-min-device-pixel-ratio: 2)') ? this.fluidbook.datas.retinaResolution : 150;
-       } else {
-               this.resolution = window.resolution;
-       }
+
+       this.resolution = 150;
+
 
        this.isMobile = isMobile();
        this.SVG = Modernizr.svg && this.fluidbook.datas.mobileIconVector;