mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
fix 3rd party lib name in example doc (#2632)
This commit is contained in:
parent
f27e3495bd
commit
a15fcafb8a
@ -888,7 +888,7 @@ First we need to initialize elements that have the class in new content:
|
|||||||
```javascript
|
```javascript
|
||||||
htmx.onLoad(function (target) {
|
htmx.onLoad(function (target) {
|
||||||
// find all elements in the new content that should be
|
// 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")
|
var editors = target.querySelectorAll(".tomselect")
|
||||||
.forEach(elt => new TomSelect(elt))
|
.forEach(elt => new TomSelect(elt))
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user