aboutsummaryrefslogtreecommitdiff
path: root/js/src/modal/modal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/modal/modal.js')
-rw-r--r--js/src/modal/modal.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/modal/modal.js b/js/src/modal/modal.js
index 5d7424937..fd24b7768 100644
--- a/js/src/modal/modal.js
+++ b/js/src/modal/modal.js
@@ -513,7 +513,7 @@ class Modal {
// Static
- static _jQueryInterface(config, relatedTarget) {
+ static jQueryInterface(config, relatedTarget) {
return this.each(function () {
let data = Data.getData(this, DATA_KEY)
const _config = {
@@ -538,7 +538,7 @@ class Modal {
})
}
- static _getInstance(element) {
+ static getInstance(element) {
return Data.getData(element, DATA_KEY)
}
}
@@ -591,11 +591,11 @@ EventHandler.on(document, Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (
/* istanbul ignore if */
if (typeof $ !== 'undefined') {
const JQUERY_NO_CONFLICT = $.fn[NAME]
- $.fn[NAME] = Modal._jQueryInterface
+ $.fn[NAME] = Modal.jQueryInterface
$.fn[NAME].Constructor = Modal
$.fn[NAME].noConflict = () => {
$.fn[NAME] = JQUERY_NO_CONFLICT
- return Modal._jQueryInterface
+ return Modal.jQueryInterface
}
}