mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 22:56:46 +02:00
modal use global scope for default
This commit is contained in:
@@ -498,7 +498,7 @@ const Modal = (($) => {
|
||||
return this.each(function () {
|
||||
let data = $(this).data(DATA_KEY)
|
||||
const _config = {
|
||||
...Modal.Default,
|
||||
...Default,
|
||||
...$(this).data(),
|
||||
...typeof config === 'object' && config
|
||||
}
|
||||
|
Reference in New Issue
Block a user