Mark demo HTML sections with BEGIN/END comments (#2741)

This commit is contained in:
Paweł Kuna
2026-07-31 01:10:55 +02:00
committed by GitHub
parent 510871674d
commit 166c63cc34
65 changed files with 280 additions and 83 deletions
+4
View File
@@ -124,6 +124,8 @@ const selectId = id ? `select-${id}` : undefined;
}
{
id && (
<Fragment>
<Fragment set:html={'<!-- BEGIN SELECT -->'} />
<script define:vars={{ selectId, showSearch }}>
function initSelect() {
window.tabler_select ??= {};
@@ -149,5 +151,7 @@ const selectId = id ? `select-${id}` : undefined;
document.readyState !== 'loading' ? initSelect() : document.addEventListener('DOMContentLoaded', initSelect, { once: true });
</script>
<Fragment set:html={'<!-- END SELECT -->'} />
</Fragment>
)
}