skx/bookmarks.public — pull request #1 by shurcooL (2013-03-20 00:35:28+00:00)
Title: Changed keydown to keyup.

This way you avoid always reacting to one keystroke in the past (i.e. after typing the last letter t of "test", it displays results for "tes").

Ideally, using oninput is even better (in the latest browsers that support it), because it detects all possible ways that input can be changed, e.g. cut, delete from context menu, etc.