cpangrep icon indicating copy to clipboard operation
cpangrep copied to clipboard

Cannot type slash in the search box on the results page

Open ilmari opened this issue 9 years ago • 0 comments

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

ilmari avatar Feb 28 '17 19:02 ilmari