From a5c52958e76078cad215ccb2812712188629156c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 23 Apr 2015 16:06:27 -0400 Subject: [PATCH] made handleSearch public --- public/src/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/app.js b/public/src/app.js index f054575011..d13a6004ab 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -394,7 +394,7 @@ app.cacheBuster = null; }); } - function handleSearch() { + app.handleSearch = function () { var searchButton = $("#search-button"), searchFields = $("#search-fields"), searchInput = $('#search-fields input'); @@ -516,7 +516,7 @@ app.cacheBuster = null; handleStatusChange(); if (config.searchEnabled) { - handleSearch(); + app.handleSearch(); } handleNewTopic();