Skip to content

Commit

Permalink
Web Inspector: Incremental in SearchSidebarPanel
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=260047

Reviewed by Devin Rousso.

Replace "search" with "change" to fix search functionality

* Source/WebInspectorUI/UserInterface/Views/SearchSidebarPanel.js:
(WI.SearchSidebarPanel):

Canonical link: https://commits.webkit.org/266820@main
  • Loading branch information
francescorn authored and dcrousso committed Aug 11, 2023
1 parent c323bd2 commit f02cdaa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ WI.SearchSidebarPanel = class SearchSidebarPanel extends WI.NavigationSidebarPan
this._inputElement = this._inputContainer.appendChild(document.createElement("input"));
this._inputElement.type = "search";
this._inputElement.spellcheck = false;
this._inputElement.addEventListener("search", this._searchFieldChanged.bind(this));
this._inputElement.addEventListener("change", this._searchFieldChanged.bind(this));
this._inputElement.addEventListener("input", this._searchFieldInput.bind(this));
this._inputElement.setAttribute("results", 5);
this._inputElement.setAttribute("autosave", "inspector-search-autosave");
Expand Down

0 comments on commit f02cdaa

Please sign in to comment.