diff options
author | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-21 20:26:58 +0100 |
---|---|---|
committer | Nicolai Tellefsen <niccofyren@gmail.com> | 2016-03-21 20:26:58 +0100 |
commit | d528cad67897dd2c3b98ec15a82868ac2764e2c7 (patch) | |
tree | e22c00a1274e934352754e99b3cfce3619af2bf3 /web/nms.gathering.org/js/nms.js | |
parent | 4eedfbd1a9cbb447690f86fece8b2ff5a5fc2626 (diff) |
NMS: Tweak search highlight and hotkeys
Diffstat (limited to 'web/nms.gathering.org/js/nms.js')
-rw-r--r-- | web/nms.gathering.org/js/nms.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/web/nms.gathering.org/js/nms.js b/web/nms.gathering.org/js/nms.js index fd445d1..411fd1c 100644 --- a/web/nms.gathering.org/js/nms.js +++ b/web/nms.gathering.org/js/nms.js @@ -486,6 +486,7 @@ function initNMS() { detectHandler(); nms.playback.play(); setupKeyhandler(); + setupSearchKeyHandler(); } function detectHandler() { @@ -613,6 +614,13 @@ function setupKeyhandler() }); } +function setupSearchKeyHandler() +{ + $("#searchbox").keyup(function(e) { + nmsInfoBox._searchKeyListener(e); + }); +} + function getCookie(cname) { var name = cname + "="; |