diff options
Diffstat (limited to 'js/dist/modal.js')
-rw-r--r-- | js/dist/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dist/modal.js b/js/dist/modal.js index d2effa83b4..6e70652e39 100644 --- a/js/dist/modal.js +++ b/js/dist/modal.js @@ -495,7 +495,7 @@ var Modal = function ($) { return this.each(function () { var data = $(this).data(DATA_KEY); - var _config = _objectSpread({}, Modal.Default, $(this).data(), typeof config === 'object' && config); + var _config = _objectSpread({}, Default, $(this).data(), typeof config === 'object' && config ? config : {}); if (!data) { data = new Modal(this, _config); |