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}
|
||||
<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