diff options
| author | MietekN <[email protected]> | 2018-04-12 11:21:10 +0200 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2018-04-12 11:21:10 +0200 |
| commit | 418fd76ba97358730e4ae7fd28f73dbb5e275fbd (patch) | |
| tree | a64ad2bc8be986714aa36b799fd60d69412ccb9e /js/src | |
| parent | 5be2cd3d6c8b89ae14e510f2431f87eddfb0867a (diff) | |
| download | bootstrap-418fd76ba97358730e4ae7fd28f73dbb5e275fbd.tar.xz bootstrap-418fd76ba97358730e4ae7fd28f73dbb5e275fbd.zip | |
modal use global scope for default
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/modal.js b/js/src/modal.js index 13802e276..1df415266 100644 --- a/js/src/modal.js +++ b/js/src/modal.js @@ -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 } |
