mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
@@ -9,10 +9,8 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
_item.classList.remove("active");
|
||||
});
|
||||
item.classList.add("active");
|
||||
|
||||
let current = item.getAttribute("data-current");
|
||||
sessionStorage.setItem("joe_config_current", current);
|
||||
|
||||
if (current === "joe_notice") {
|
||||
Notice.style.display = "block";
|
||||
Form.style.display = "none";
|
||||
@@ -20,7 +18,6 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
Notice.style.display = "none";
|
||||
Form.style.display = "block";
|
||||
}
|
||||
|
||||
Content.forEach(function (_item) {
|
||||
_item.style.display = "none";
|
||||
let flag = _item.classList.contains(current);
|
||||
|
||||
1
assets/js/joe.global.js
Normal file
1
assets/js/joe.global.js
Normal file
@@ -0,0 +1 @@
|
||||
document.addEventListener('DOMContentLoaded', function () {});
|
||||
Reference in New Issue
Block a user