demo.filerise.net
This commit is contained in:
2
auth.js
2
auth.js
@@ -127,6 +127,7 @@ function updateAuthenticatedUI(data) {
|
||||
if (adminPanelBtn) adminPanelBtn.style.display = "none";
|
||||
}
|
||||
|
||||
if (window.location.hostname !== "demo.filerise.net") {
|
||||
let userPanelBtn = document.getElementById("userPanelBtn");
|
||||
if (!userPanelBtn) {
|
||||
userPanelBtn = document.createElement("button");
|
||||
@@ -148,6 +149,7 @@ function updateAuthenticatedUI(data) {
|
||||
} else {
|
||||
userPanelBtn.style.display = "block";
|
||||
}
|
||||
}
|
||||
|
||||
updateItemsPerPageSelect();
|
||||
updateLoginOptionsUIFromStorage();
|
||||
|
||||
Reference in New Issue
Block a user