]> _ Git - fluidbook-html5.git/commitdiff
(no commit message)
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Jun 2014 16:36:36 +0000 (16:36 +0000)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 23 Jun 2014 16:36:36 +0000 (16:36 +0000)
js/main.js

index e27b200e615aaaacf54c8c1463bf477848e6ea38..6c3e4671198ea4905dd3b6a0765a564f15959ace 100644 (file)
@@ -115,10 +115,7 @@ try {
 
                document.addEventListener("offline", onDeviceOffline, false);
 
-               var manifest = window.localStorage.getItem('manifest.' + DATAS.id);
-               manifest = false;
-
-               //console.log('manifest from storage == ' + JSON.stringify(manifest));
+               var manifest;
 
                var fsprefix = window.sessionStorage.getItem('galfsprefix');
 
@@ -149,9 +146,8 @@ try {
                        resolution = 150;
                }
 
-               if (DATAS.phonegap && (!manifest || manifest == '0') && !OFFLINEAPP) {
+               if (!OFFLINEAPP) {
                        console.log('set manifest from manifest pub');
-
                        manifest = collection.manifestPub[DATAS.id];
 
                } else {