mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed suggestions notifier error
This commit is contained in:
@@ -871,11 +871,11 @@ function before_toast(){
|
||||
}
|
||||
|
||||
function scrollChat() {
|
||||
var current = document.querySelector(".chat-tab active").getAttribute("href");
|
||||
var current = document.querySelector(".chatTabs .active").getAttribute("href");
|
||||
if(current == "#channelchat") {
|
||||
document.querySelector('#chatchannel').scrollTop(document.querySelector('#chatchannel').scrollHeight);
|
||||
document.querySelector('#chatchannel').scrollTop = document.querySelector('#chatchannel').scrollHeight;
|
||||
} else if(current == "#all_chat") {
|
||||
document.querySelector('#chatall').scrollTop(document.querySelector('#chatall').scrollHeight);
|
||||
document.querySelector('#chatall').scrollTop = document.querySelector('#chatall').scrollHeight;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user