waibu-bootstrap 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,7 +113,6 @@ class Wbs {
|
|
|
113
113
|
await wmpa.addComponent(body.join('\n'), 'body', undefined, undefined, qs)
|
|
114
114
|
const item = new this.engine.Offcanvas(`#${id}`)
|
|
115
115
|
const itemEl = document.getElementById(id)
|
|
116
|
-
if (window.mdb) this.engine.Collapse.getOrCreateInstance(itemEl)
|
|
117
116
|
itemEl.addEventListener('hidden.bs.offcanvas', evt => {
|
|
118
117
|
itemEl.remove()
|
|
119
118
|
})
|
package/package.json
CHANGED