fix js mor
This commit is contained in:
parent
2284fac632
commit
54fde6ae2e
@ -131,16 +131,16 @@ onready(function() {
|
|||||||
console.log(msg, j.url);
|
console.log(msg, j.url);
|
||||||
e.innerHTML = msg;
|
e.innerHTML = msg;
|
||||||
if(window.location.pathname === j.url) {
|
if(window.location.pathname === j.url) {
|
||||||
var img = document.getElementById("captcha_img");
|
|
||||||
if (img) {
|
|
||||||
reloadImg(img);
|
|
||||||
}
|
|
||||||
reloadThreadJSON(j.message_id);
|
reloadThreadJSON(j.message_id);
|
||||||
} else if (j && j.url) {
|
} else if (j && j.url) {
|
||||||
// do redirect
|
// do redirect
|
||||||
window.location.pathname = j.url;
|
window.location.pathname = j.url;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
var img = document.getElementById("captcha_img");
|
||||||
|
if (img) {
|
||||||
|
reloadImg(img);
|
||||||
|
}
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
e.disabled = false;
|
e.disabled = false;
|
||||||
e.innerHTML = origText;
|
e.innerHTML = origText;
|
||||||
|
Reference in New Issue
Block a user