fix 3rd party lib name in example doc (#2632)

This commit is contained in:
Guilherme J. Tramontina 2024-06-19 03:45:05 +10:00 committed by GitHub
parent f27e3495bd
commit a15fcafb8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -888,7 +888,7 @@ First we need to initialize elements that have the class in new content:
```javascript
htmx.onLoad(function (target) {
// find all elements in the new content that should be
// an editor and init w/ quill
// an editor and init w/ TomSelect
var editors = target.querySelectorAll(".tomselect")
.forEach(elt => new TomSelect(elt))
});