cpangrep
cpangrep copied to clipboard
Cannot type slash in the search box on the results page
The check for whether the '/' keypress event came from the search box is using the non-standard e.srcElement. It should use the standard e.target instead (or as well).
https://developer.mozilla.org/en-US/docs/Web/API/Event/srcElement https://developer.mozilla.org/en-US/docs/Web/API/Event/target