mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Fixed removing of Remove button and faulty variable adminTogg
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
var adminTogg = false;
|
||||
var pass_corr = "";
|
||||
|
||||
|
||||
@@ -86,6 +85,7 @@ function log_out(){
|
||||
}
|
||||
$("#admin-lock").addClass("mdi-action-lock");
|
||||
$("#admin-lock").removeClass("mdi-action-lock-open clickable");
|
||||
$(".card-action").addClass("hide");
|
||||
document.getElementById("password").value = "";
|
||||
Materialize.toast("Logged out", 4000);
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user