关闭等待
This commit is contained in:
parent
cb2532f611
commit
897d5114fc
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user