Invalidate the cache after migrating DB
This commit is contained in:
parent
e3e6aa38f3
commit
980ac31e49
|
@ -13,6 +13,10 @@ var webSqlStorage = {
|
||||||
webSqlStorage.cleanStyle(s)
|
webSqlStorage.cleanStyle(s)
|
||||||
os.add(s);
|
os.add(s);
|
||||||
});
|
});
|
||||||
|
// While this was running, the styles were loaded from the (empty) indexed db
|
||||||
|
setTimeout(function() {
|
||||||
|
invalidateCache(true);
|
||||||
|
}, 500);
|
||||||
});
|
});
|
||||||
}, null);
|
}, null);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user