mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-20 20:00:36 +03:00
Omit getting data-attributes from toggle element
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ EventHandler.on(document, EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
const data = Modal.getInstance(target) || new Modal(target, Manipulator.getDataAttributes(this))
|
const data = Modal.getInstance(target) || new Modal(target)
|
||||||
|
|
||||||
data.toggle(this)
|
data.toggle(this)
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user