diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-11-21 12:34:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-21 12:34:57 -0500 |
commit | 36967b18397dc7f6414d81584ea37f364195b164 (patch) | |
tree | 80d5bf157b2887a640b9e6dce3fb5403cae4a35f /ext/js/app/popup-factory.js | |
parent | 3c798ae36d1181a57de59f03bcf10d3bf7fc9577 (diff) |
General refactoring (#2016)
* Remove // Public comments
* Fix errors
* Remove source parameter from Popup*.setOptionsContext
Diffstat (limited to 'ext/js/app/popup-factory.js')
-rw-r--r-- | ext/js/app/popup-factory.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/js/app/popup-factory.js b/ext/js/app/popup-factory.js index 05ab1942..95587162 100644 --- a/ext/js/app/popup-factory.js +++ b/ext/js/app/popup-factory.js @@ -37,8 +37,6 @@ class PopupFactory { this._allPopupVisibilityTokenMap = new Map(); } - // Public functions - /** * Prepares the instance for use. */ @@ -225,9 +223,9 @@ class PopupFactory { }; } - async _onApiSetOptionsContext({id, optionsContext, source}) { + async _onApiSetOptionsContext({id, optionsContext}) { const popup = this._getPopup(id); - return await popup.setOptionsContext(optionsContext, source); + return await popup.setOptionsContext(optionsContext); } _onApiHide({id, changeFocus}) { |