Invalidate the cache after migrating DB

This commit is contained in:
Jason 2016-04-03 10:23:24 -05:00
parent e3e6aa38f3
commit 980ac31e49

View File

@ -13,6 +13,10 @@ var webSqlStorage = {
webSqlStorage.cleanStyle(s)
os.add(s);
});
// While this was running, the styles were loaded from the (empty) indexed db
setTimeout(function() {
invalidateCache(true);
}, 500);
});
}, null);
},