aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display/search-action-popup-controller.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 12:48:14 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2023-11-27 12:48:14 -0500
commit4da4827bcbcdd1ef163f635d9b29416ff272b0bb (patch)
treea8a0f1a8befdb78a554e1be91f2c6059ca3ad5f9 /ext/js/display/search-action-popup-controller.js
parentfd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff)
Add JSDoc type annotations to project (rebased)
Diffstat (limited to 'ext/js/display/search-action-popup-controller.js')
-rw-r--r--ext/js/display/search-action-popup-controller.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/js/display/search-action-popup-controller.js b/ext/js/display/search-action-popup-controller.js
index e8fb9f1b..733fd70a 100644
--- a/ext/js/display/search-action-popup-controller.js
+++ b/ext/js/display/search-action-popup-controller.js
@@ -17,10 +17,15 @@
*/
export class SearchActionPopupController {
+ /**
+ * @param {SearchPersistentStateController} searchPersistentStateController
+ */
constructor(searchPersistentStateController) {
+ /** @type {SearchPersistentStateController} */
this._searchPersistentStateController = searchPersistentStateController;
}
+ /** */
prepare() {
const searchParams = new URLSearchParams(location.search);
if (searchParams.get('action-popup') !== 'true') { return; }