mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 22:10:24 +00:00
modal use global scope for default
This commit is contained in:
parent
5be2cd3d6c
commit
418fd76ba9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue