diff options
author | MietekN <namiltd@users.noreply.github.com> | 2018-04-12 12:21:10 +0300 |
---|---|---|
committer | Johann-S <johann.servoire@gmail.com> | 2018-04-12 12:21:10 +0300 |
commit | 418fd76ba97358730e4ae7fd28f73dbb5e275fbd (patch) | |
tree | a64ad2bc8be986714aa36b799fd60d69412ccb9e /js/src/modal.js | |
parent | 5be2cd3d6c8b89ae14e510f2431f87eddfb0867a (diff) |
modal use global scope for default
Diffstat (limited to 'js/src/modal.js')
-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 13802e276e..1df4152666 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 } |