Accept Merge Request #125: (feature/hant -> develop)
Merge Request: 关闭等待 Created By: @todayswind Accepted By: @todayswind URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/125?initial=true
This commit is contained in:
commit
37aa209c0c
|
|
@ -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