diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-11-21 15:54:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 15:54:58 -0500 |
commit | 005f9658d98143ea1189482ae627405c8bf5a566 (patch) | |
tree | 712732685dd3300ad9403f17d2937486e3835661 /ext/js/app/popup-window.js | |
parent | 06e70c1cd8a6e23b54ba9081caf82902820ceccd (diff) |
Action handler name disambiguation (#2018)
* Disambiguate PopupFactory action handlers
* Update HotkeyHandler action names
* Disambiguate Frontend action handlers
* Disambiguate Display action handlers
* Disambiguate PopupPreviewFrame action handlers
* Disambiguate Yomichan action handlers
* Disambiguate Frontend action handlers
* Disambiguate Display action handlers
* Disambiguate SearchDisplayController action handlers
Diffstat (limited to 'ext/js/app/popup-window.js')
-rw-r--r-- | ext/js/app/popup-window.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/app/popup-window.js b/ext/js/app/popup-window.js index 8f1a8355..e84b050a 100644 --- a/ext/js/app/popup-window.js +++ b/ext/js/app/popup-window.js @@ -117,7 +117,7 @@ class PopupWindow extends EventDispatcher { * @returns {Promise<void>} */ setOptionsContext(optionsContext) { - return this._invoke(false, 'setOptionsContext', {id: this._id, optionsContext}); + return this._invoke(false, 'Display.setOptionsContext', {id: this._id, optionsContext}); } /** @@ -174,7 +174,7 @@ class PopupWindow extends EventDispatcher { */ async showContent(_details, displayDetails) { if (displayDetails === null) { return; } - await this._invoke(true, 'setContent', {id: this._id, details: displayDetails}); + await this._invoke(true, 'Display.setContent', {id: this._id, details: displayDetails}); } /** @@ -182,14 +182,14 @@ class PopupWindow extends EventDispatcher { * @param {string} css The CSS rules. */ setCustomCss(css) { - return this._invoke(false, 'setCustomCss', {id: this._id, css}); + return this._invoke(false, 'Display.setCustomCss', {id: this._id, css}); } /** * Stops the audio auto-play timer, if one has started. */ clearAutoPlayTimer() { - return this._invoke(false, 'clearAutoPlayTimer', {id: this._id}); + return this._invoke(false, 'Display.clearAutoPlayTimer', {id: this._id}); } /** |