Commit Graph

3 Commits

Author SHA1 Message Date
Ben Greenman
7635f21788
search box: change '"s" for search' behavior (#202)
1. Focus on the search box for either "s" or "S"
   ... accepting only "s" makes sense to me, but the comment said it
   accepted "S" and well why not
2. Look for a "keyup" event instead of key press, so that pressing "s"
   ONLY focuses on the box and does not focus-and-write-the-letter-"s"

"keyup" events apparently don't have a useful `charCode` field so this
PR looks at the `keyCode` field instead
2019-05-01 23:35:18 -04:00
Milo Turner
9051e6d882 pressing "S" on the page body focuses to the search box 2018-06-12 08:47:35 -06:00
Sam Tobin-Hochstadt
a316fc12c0 Remove extra directories. 2014-12-02 00:54:52 -05:00