mirror of
https://github.com/usetrmnl/trmnl-picker.git
synced 2026-04-29 13:44:02 -07:00
In demo, wait for DOMContentLoaded before terminalize()
This commit is contained in:
+3
-1
@@ -520,7 +520,9 @@
|
||||
|
||||
console.log('Picker changed:', event.detail)
|
||||
|
||||
terminalize();
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
terminalize();
|
||||
})
|
||||
})
|
||||
|
||||
// Initialize picker
|
||||
|
||||
Reference in New Issue
Block a user