This commit is contained in:
2025-12-11 13:30:40 +07:00
parent ebfaf799eb
commit 70ca13999e
10 changed files with 271 additions and 818 deletions

View File

@@ -361,11 +361,11 @@
// Xóa class current ở tất cả các tab
document.querySelectorAll("#js-admin-home-tab a").forEach(function (el) {
el.classList.remove("btn-active");
el.classList.remove("hura-btn-active");
});
// Gán class current vào tab đang click
this.classList.add("btn-active");
this.classList.add("hura-btn-active");
// Lấy ID từ href để show nội dung
var id = this.getAttribute("href");