mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 00:37:49 +01:00
fix cache
This commit is contained in:
parent
5e764abccc
commit
11ff62ae72
1 changed files with 7 additions and 0 deletions
|
@ -1686,6 +1686,10 @@ checkbox.addEventListener('change', function(e) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var cacheVersion = 1;
|
||||||
|
|
||||||
|
caches.delete('offline-cache' + cacheVersion)
|
||||||
|
|
||||||
if (/[?&]autoplay=/.test(location.search)) {
|
if (/[?&]autoplay=/.test(location.search)) {
|
||||||
checkbox.checked = true;
|
checkbox.checked = true;
|
||||||
console.log("[AUTOPLAY] enabled");
|
console.log("[AUTOPLAY] enabled");
|
||||||
|
@ -2948,6 +2952,9 @@ function jumpToTime(e) {
|
||||||
}, 250);
|
}, 250);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var cacheVersion = 1;
|
||||||
|
|
||||||
|
caches.delete('offline-cache' + cacheVersion)
|
||||||
|
|
||||||
// Handle click events for time-based links
|
// Handle click events for time-based links
|
||||||
const timeLinks = document.querySelectorAll('a[data-onclick="jump_to_time"]');
|
const timeLinks = document.querySelectorAll('a[data-onclick="jump_to_time"]');
|
||||||
|
|
Loading…
Reference in a new issue