From: MietekN Date: Thu, 12 Apr 2018 09:21:10 +0000 (+0200) Subject: modal use global scope for default X-Git-Tag: v4.1.1~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=418fd76ba97358730e4ae7fd28f73dbb5e275fbd;p=thirdparty%2Fbootstrap.git modal use global scope for default --- 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 }