From 952d93406b6d1ab8252b3c43cabc496664f0180b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 23 Jun 2014 16:36:36 +0000 Subject: [PATCH] --- js/main.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/js/main.js b/js/main.js index e27b200e..6c3e4671 100644 --- a/js/main.js +++ b/js/main.js @@ -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 { -- 2.39.5