From 3225c2af46dd164f01b52243021336fd249119d8 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Sun, 22 May 2016 14:17:56 +0200 Subject: Front: Separate searching from the info-box --- web/js/nms.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'web/js/nms.js') 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 + "="; -- cgit v1.2.3