Aode (Lion)
903134c7c7
All checks were successful
continuous-integration/drone/push Build is passing
12 lines
315 B
JavaScript
12 lines
315 B
JavaScript
(function() {
|
|
function reloadOnComplete() {
|
|
if (document.readyState === 'complete') {
|
|
// Do not use window.reload() because it's bugged on firefox
|
|
window.location.href = window.location.href;
|
|
}
|
|
}
|
|
|
|
document.addEventListener('readystatechange', reloadOnComplete);
|
|
reloadOnComplete();
|
|
})()
|