mirror of
https://github.com/ikrpg/ikrpg.github.io.git
synced 2026-05-13 14:27:22 +00:00
Experiments with appcache part 24
This commit is contained in:
parent
a8d8bcdc86
commit
67d39d2dc9
2 changed files with 4 additions and 3 deletions
|
|
@ -48,7 +48,9 @@
|
|||
<script type="text/javascript">
|
||||
(function(){
|
||||
var webappCache = window.applicationCache;
|
||||
webappCache.addEventListener("updateready", function() { webappCache.swapCache(); }, false);
|
||||
if (webappCache) {
|
||||
webappCache.addEventListener("updateready", function() { webappCache.update(); webappCache.swapCache(); }, false);
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue