forked from UKSOURCE/cms.hailearning.edu.vn
fix: on/off tab in home page
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<!-- Why Choose Us Tab -->
|
||||
<!-- Why Choose Us Tab -->
|
||||
<div class="tab-pane fade" id="whychooseus" role="tabpanel">
|
||||
<div class="row g-4">
|
||||
<!-- Basic Info -->
|
||||
@@ -206,7 +206,7 @@
|
||||
window.homeScrapers = window.homeScrapers || {};
|
||||
window.homeScrapers.whyChooseUs = () => {
|
||||
const getVal = (id) => (document.getElementById(id)?.value || "").trim();
|
||||
const enabled = document.getElementById("whyChooseUsEnabled")?.checked !== false;
|
||||
const enabled = document.getElementById("whyChooseUsEnabled")?.checked === true;
|
||||
|
||||
// Collect items
|
||||
const items = [];
|
||||
|
||||
Reference in New Issue
Block a user