0.0.69
This commit is contained in:
@@ -39,7 +39,6 @@ function check_window_tm(){
|
|||||||
clearInterval(intervl)
|
clearInterval(intervl)
|
||||||
checkOpenWindow(window)
|
checkOpenWindow(window)
|
||||||
}
|
}
|
||||||
console.log("1")
|
|
||||||
},
|
},
|
||||||
1000)
|
1000)
|
||||||
}
|
}
|
||||||
@@ -88,8 +87,8 @@ function check_new_messages (window,data){
|
|||||||
},
|
},
|
||||||
error: function (data){
|
error: function (data){
|
||||||
|
|
||||||
document.querySelector(".info_profile").innerHTML = data.responseJSON.html;
|
let request = document.querySelector(".info_profile").innerHTML = data.responseJSON.html;
|
||||||
if (window === null){
|
if (request === undefined || window === null){
|
||||||
clearTimeout(check_msg)
|
clearTimeout(check_msg)
|
||||||
checkOpenWindow()
|
checkOpenWindow()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user