mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removing toasts when new toasts appear, and added a small fix for w3cvalidator
This commit is contained in:
@@ -91,6 +91,7 @@ var Admin = {
|
||||
msg="Seems the song you want is already playing. No fooling the system!";
|
||||
break;
|
||||
}
|
||||
before_toast();
|
||||
Materialize.toast(msg, 4000);
|
||||
},
|
||||
|
||||
@@ -167,6 +168,7 @@ var Admin = {
|
||||
},
|
||||
|
||||
log_out: function(){
|
||||
before_toast();
|
||||
if(Crypt.get_pass(chan.toLowerCase())){
|
||||
Crypt.remove_pass(chan.toLowerCase());
|
||||
Admin.display_logged_out();
|
||||
|
||||
Reference in New Issue
Block a user