forked from UKSOURCE/cms.hailearning.edu.vn
fix: on/off tab in home page
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- FAQ Tab -->
|
||||
<!-- FAQ Tab -->
|
||||
<div class="tab-pane fade" id="faq" role="tabpanel">
|
||||
<div class="row g-4">
|
||||
<!-- Basic Info -->
|
||||
@@ -139,7 +139,7 @@
|
||||
window.homeScrapers.faq = () => {
|
||||
const getVal = (id) => (document.getElementById(id)?.value || "").trim();
|
||||
|
||||
const enabled = document.getElementById('faqEnabled')?.checked !== false;
|
||||
const enabled = document.getElementById('faqEnabled')?.checked === true;
|
||||
|
||||
const items = [];
|
||||
document.querySelectorAll(".faq-item").forEach((el, idx) => {
|
||||
|
||||
Reference in New Issue
Block a user