Fix DOMContentLoaded and switchTab to auto-render 37 channels table
This commit is contained in:
parent
17491e8437
commit
dcec6a4b35
2 changed files with 4 additions and 0 deletions
|
|
@ -1124,6 +1124,7 @@
|
|||
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
|
||||
const activeBtn = document.getElementById('tab-btn-' + tabId);
|
||||
if (activeBtn) activeBtn.classList.add('active');
|
||||
if (tabId === 'channels' && typeof renderChannelsTable === 'function') renderChannelsTable();
|
||||
}
|
||||
|
||||
function filterLine(line) {
|
||||
|
|
@ -1386,6 +1387,7 @@ ${t.post_draft}
|
|||
loadPersistedState();
|
||||
calculateSimulator();
|
||||
updateLiveAdPreview();
|
||||
renderChannelsTable();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1124,6 +1124,7 @@
|
|||
document.querySelectorAll('.tab-btn').forEach(b => b.classList.remove('active'));
|
||||
const activeBtn = document.getElementById('tab-btn-' + tabId);
|
||||
if (activeBtn) activeBtn.classList.add('active');
|
||||
if (tabId === 'channels' && typeof renderChannelsTable === 'function') renderChannelsTable();
|
||||
}
|
||||
|
||||
function filterLine(line) {
|
||||
|
|
@ -1386,6 +1387,7 @@ ${t.post_draft}
|
|||
loadPersistedState();
|
||||
calculateSimulator();
|
||||
updateLiveAdPreview();
|
||||
renderChannelsTable();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Reference in a new issue