* userJS: fix redirect error.
This commit is contained in:
@@ -5,7 +5,7 @@ $(function()
|
||||
setInterval(function()
|
||||
{
|
||||
var time = $('#time').text();
|
||||
if(time == 0) window.location.href = $('.alert-info .btn').attr('href');
|
||||
if(time == 0) window.location.href = $('#redirect').attr('href');
|
||||
$('#time').text(time - 1 <= 0 ? 0 : time - 1);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user