feat: refine operational control panel pages
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,4 +1,3 @@
|
||||
document.addEventListener("click", event => {
|
||||
const action = event.target.closest("[data-confirm]");
|
||||
if (action && !window.confirm(action.dataset.confirm)) event.preventDefault();
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
document.documentElement.classList.add("js");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user