frontend/js/controllers/modal_trigger_controller.js in trestle-0.10.0 vs frontend/js/controllers/modal_trigger_controller.js in trestle-0.10.1
- old
+ new
@@ -24,11 +24,11 @@
Modal.load(this.url, this.fetchParams)
.then((modal) => {
this.modal = modal
- const modalController = this._getModalController(modal)
+ const modalController = this.#getModalController(modal)
modalController.modalTrigger = this
this.dispatch('loaded', { detail: modal })
})
}
@@ -66,9 +66,9 @@
get isLink () {
return this.element.nodeName === 'A'
}
- _getModalController (modal) {
+ #getModalController (modal) {
return this.application.getControllerForElementAndIdentifier(modal, 'modal')
}
}