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