summaryrefslogtreecommitdiff
path: root/ext/js/app/popup-factory.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-11-21 12:34:57 -0500
committerGitHub <noreply@github.com>2021-11-21 12:34:57 -0500
commit36967b18397dc7f6414d81584ea37f364195b164 (patch)
tree80d5bf157b2887a640b9e6dce3fb5403cae4a35f /ext/js/app/popup-factory.js
parent3c798ae36d1181a57de59f03bcf10d3bf7fc9577 (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.js6
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}) {