diff options
Diffstat (limited to 'ext/js/app/popup-window.js')
-rw-r--r-- | ext/js/app/popup-window.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/js/app/popup-window.js b/ext/js/app/popup-window.js index 0b083d80..801afb3f 100644 --- a/ext/js/app/popup-window.js +++ b/ext/js/app/popup-window.js @@ -126,7 +126,7 @@ export class PopupWindow extends EventDispatcher { * @returns {Promise<void>} */ async setOptionsContext(optionsContext) { - await this._invoke(false, 'Display.setOptionsContext', {id: this._id, optionsContext}); + await this._invoke(false, 'displaySetOptionsContext', {id: this._id, optionsContext}); } /** @@ -183,7 +183,7 @@ export class PopupWindow extends EventDispatcher { */ async showContent(_details, displayDetails) { if (displayDetails === null) { return; } - await this._invoke(true, 'Display.setContent', {id: this._id, details: displayDetails}); + await this._invoke(true, 'displaySetContent', {id: this._id, details: displayDetails}); } /** @@ -192,7 +192,7 @@ export class PopupWindow extends EventDispatcher { * @returns {Promise<void>} */ async setCustomCss(css) { - await this._invoke(false, 'Display.setCustomCss', {id: this._id, css}); + await this._invoke(false, 'displaySetCustomCss', {id: this._id, css}); } /** @@ -200,7 +200,7 @@ export class PopupWindow extends EventDispatcher { * @returns {Promise<void>} */ async clearAutoPlayTimer() { - await this._invoke(false, 'Display.clearAutoPlayTimer', {id: this._id}); + await this._invoke(false, 'displayAudioClearAutoPlayTimer', {id: this._id}); } /** @@ -266,6 +266,7 @@ export class PopupWindow extends EventDispatcher { // Private + // TODO : Type safety /** * @template {import('core').SerializableObject} TParams * @template [TReturn=unknown] |