mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Omit getting data-attributes from toggle element
This commit is contained in:
parent
752b001b0a
commit
317c2cd08e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue