diff options
Diffstat (limited to 'autocomplete.js')
-rw-r--r-- | autocomplete.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autocomplete.js b/autocomplete.js index 3350108..7a9f151 100644 --- a/autocomplete.js +++ b/autocomplete.js @@ -12,7 +12,7 @@ class Autocomplete { this.dropdown = null; field.parentNode.classList.add('dropdown'); - field.setAttribute('data-toggle', 'dropdown'); + field.setAttribute('data-bs-toggle', 'dropdown'); field.classList.add('dropdown-toggle'); const dropdown = ce(`<div class="dropdown-menu" ></div>`); @@ -129,4 +129,4 @@ function ce(html) { */ function insertAfter(elem, refElem) { return refElem.parentNode.insertBefore(elem, refElem.nextSibling) -}
\ No newline at end of file +} |