\r
var $this = this;\r
if (this.datas.linkBlinkTime > 0) {\r
- //this.animateLinks();\r
+ ///this.animateLinks();\r
}\r
setTimeout(function() {\r
$this.initVideos();\r
this.transitionendevent = null;
- this.resolution = Modernizr.mq('(-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi)') ? this.fluidbook.datas.retinaResolution : 150;
+ 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.isMobile = isMobile();
this.SVG = Modernizr.svg && this.fluidbook.datas.mobileIconVector;
var startAfterLoading = false;
var gal = null;
var home = window.location.toString();
+var resolution = 'auto';
try {
$(function() {
}
+ var collection = JSON.parse(window.localStorage.getItem('collection'));
+ if (collection.res != undefined && collection.res) {
+ resolution = collection.res;
+ }
+
+ if (DATAS.phonegap && !manifest) {
+ manifest = collection.manifestPub[DATAS.id];
+ }
+
if (navigator.onLine && manifest) {
var readyToLoad = false;
var finishedLoading = false;