关闭等待
This commit is contained in:
parent
cb2532f611
commit
897d5114fc
|
|
@ -48,15 +48,7 @@
|
||||||
{if $url}
|
{if $url}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function () {
|
(function () {
|
||||||
var wait = document.getElementById('wait'),
|
location.href = document.getElementById('href').href;
|
||||||
href = document.getElementById('href').href;
|
|
||||||
var interval = setInterval(function () {
|
|
||||||
var time = --wait.innerHTML;
|
|
||||||
if (time <= 0) {
|
|
||||||
location.href = href;
|
|
||||||
clearInterval(interval);
|
|
||||||
}
|
|
||||||
}, 1000);
|
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user