this.transitionendevent = null;
if (window.resolution == 'auto') {
- this.resolution = Modernizr.mq('(-webkit-min-device-pixel-ratio: 2)') ? 300 : 150;
+ if (Modernizr.mq('(min-device-width : 320px) and (max-device-width : 480px)')) {
+ this.resolution = 150;
+ } else {
+ this.resolution = Modernizr.mq('(-webkit-min-device-pixel-ratio: 2)') ? 300 : 150;
+ }
} else {
this.resolution = window.resolution;
}
+ console.log('Images resolution :: ' + this.resolution);
this.isMobile = isMobile();
this.SVG = Modernizr.svg && this.fluidbook.datas.mobileIconVector;