Skip to content

Commit

Permalink
Fix searchForm querySelector id
Browse files Browse the repository at this point in the history
Rebased from commit "Update" 2dd78d6

Bug: #21
Change-Id: I1f382480b725ec6f0911ae24b3b78eea94899be7
  • Loading branch information
lakejason0 authored and winstonsung committed Apr 30, 2024
1 parent e864d75 commit e6f17f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/skins.lakeus.search/skins.lakeus.search.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e6f17f9

Please sign in to comment.