summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-10-01 16:19:04 +0900
committerDarius Jahandarie <djahandarie@gmail.com>2023-10-01 16:19:04 +0900
commit54530376bfb2bce40f925fe07dd7efdcb1267578 (patch)
treec18bfbfddde79220fa6b3b770d715f98c0cb1d12
parentcba7deb49f3d6471125914b51f6634bb15de9d9c (diff)
Satisfy jsdoc/require-returns lint
-rw-r--r--ext/js/app/popup-factory.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/app/popup-factory.js b/ext/js/app/popup-factory.js
index eeb31a1b..c3c98162 100644
--- a/ext/js/app/popup-factory.js
+++ b/ext/js/app/popup-factory.js
@@ -71,6 +71,7 @@ class PopupFactory {
* @param {?number} [details.depth] A specific depth value to assign to the popup.
* @param {boolean} [details.popupWindow] Whether or not a separate popup window should be used, rather than an iframe.
* @param {boolean} [details.childrenSupported] Whether or not the popup is able to show child popups.
+ * @returns {Popup|PopupWindow|PopupProxy} The new or existing popup.
*/
async getOrCreatePopup({
frameId=null,