From e6f17f9e152156d94940a50ed0251815b44a9372 Mon Sep 17 00:00:00 2001 From: lakejason0 Date: Mon, 20 Sep 2021 10:51:50 +0800 Subject: [PATCH] Fix searchForm querySelector id Rebased from commit "Update" 2dd78d6aca20a0f9e57dd94a30e817c0c529dfa3 Bug: #21 Change-Id: I1f382480b725ec6f0911ae24b3b78eea94899be7 --- resources/skins.lakeus.search/skins.lakeus.search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.lakeus.search/skins.lakeus.search.js b/resources/skins.lakeus.search/skins.lakeus.search.js index 7054a77..baf0281 100644 --- a/resources/skins.lakeus.search/skins.lakeus.search.js +++ b/resources/skins.lakeus.search/skins.lakeus.search.js @@ -39,7 +39,7 @@ function initApp(searchForm, search) { * @return {void} */ function main(document) { - var searchForm = /** @type {HTMLElement} */ (document.querySelector("#searchform")), + var searchForm = /** @type {HTMLElement} */ (document.querySelector("#p-search")), search = /** @type {HTMLInputElement|null} */ (document.getElementById("searchInput")); if (search && searchForm) { initApp(searchForm, search);