mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed issue with some modals, and showing a toast on wrong list password
This commit is contained in:
@@ -613,6 +613,8 @@ function setup_auth_listener() {
|
||||
$("#player_overlay").css("display", "block");
|
||||
$("#user_password").modal("open");
|
||||
Crypt.remove_userpass(chan.toLowerCase());
|
||||
before_toast();
|
||||
Materialize.toast("That is not the correct password, try again..", 4000);
|
||||
});
|
||||
|
||||
socket.on('auth_accepted', function(msg) {
|
||||
@@ -1769,7 +1771,7 @@ function share_link_modifier_channel(){
|
||||
}
|
||||
|
||||
function before_toast(){
|
||||
$("#toast-container").remove();
|
||||
Materialize.Toast.removeAll();
|
||||
}
|
||||
|
||||
function onepage_load(){
|
||||
|
||||
Reference in New Issue
Block a user