mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-11 16:14:04 +02:00
Omit getting data-attributes from toggle element
This commit is contained in:
@@ -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