mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-19 11:52:21 +01:00
Omit getting data-attributes from toggle element
This commit is contained in:
parent
752b001b0a
commit
317c2cd08e
@ -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)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user