关闭等待

This commit is contained in:
hant 2025-06-08 14:54:11 +08:00
parent cb2532f611
commit 897d5114fc

View File

@ -48,15 +48,7 @@
{if $url}
<script type="text/javascript">
(function () {
var wait = document.getElementById('wait'),
href = document.getElementById('href').href;
var interval = setInterval(function () {
var time = --wait.innerHTML;
if (time <= 0) {
location.href = href;
clearInterval(interval);
}
}, 1000);
location.href = document.getElementById('href').href;
})();
</script>
{/if}