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 (adminPanelBtn) adminPanelBtn.style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (window.location.hostname !== "demo.filerise.net") {
|
||||||
let userPanelBtn = document.getElementById("userPanelBtn");
|
let userPanelBtn = document.getElementById("userPanelBtn");
|
||||||
if (!userPanelBtn) {
|
if (!userPanelBtn) {
|
||||||
userPanelBtn = document.createElement("button");
|
userPanelBtn = document.createElement("button");
|
||||||
@@ -148,6 +149,7 @@ function updateAuthenticatedUI(data) {
|
|||||||
} else {
|
} else {
|
||||||
userPanelBtn.style.display = "block";
|
userPanelBtn.style.display = "block";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
updateItemsPerPageSelect();
|
updateItemsPerPageSelect();
|
||||||
updateLoginOptionsUIFromStorage();
|
updateLoginOptionsUIFromStorage();
|
||||||
|
|||||||
Reference in New Issue
Block a user