aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2016-05-22 14:17:56 +0200
committerKristian Lyngstol <kristian@bohemians.org>2016-05-22 14:17:56 +0200
commit3225c2af46dd164f01b52243021336fd249119d8 (patch)
tree516b4f234dc2cc69d70d78e37ebc0474ee20eed7 /web/js/nms.js
parentacfb9a7a84f133d5e1e2fd549f575c13a1d324a0 (diff)
Front: Separate searching from the info-box
Diffstat (limited to 'web/js/nms.js')
-rw-r--r--web/js/nms.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/web/js/nms.js b/web/js/nms.js
index 33be786..a91493f 100644
--- a/web/js/nms.js
+++ b/web/js/nms.js
@@ -560,7 +560,7 @@ function initNMS() {
detectHandler();
nms.playback.play();
setupKeyhandler();
- setupSearchKeyHandler();
+ nmsSearch.init();
}
function detectHandler() {
@@ -711,13 +711,6 @@ function setupKeyhandler()
});
}
-function setupSearchKeyHandler()
-{
- $("#searchbox").keyup(function(e) {
- nmsInfoBox._searchKeyListener(e);
- });
-}
-
function getCookie(cname) {
var name = cname + "=";