search: Remove unused variable search_active.

(imported from commit ebb907742fd38f60116fb0fe46fa622abd3b23e0)
This commit is contained in:
Tim Abbott 2013-03-04 17:28:04 -05:00
parent d5a185dca8
commit 021052a247
1 changed files with 1 additions and 4 deletions

View File

@ -8,8 +8,6 @@ var cached_index;
var cached_table = $('table.focused_table');
var current_search_term;
var search_active = false;
// Data storage for the typeahead -- to go from object to string representation and vice versa.
var labels = [];
var mapped = {};
@ -269,7 +267,7 @@ exports.initialize = function () {
// really it would be OK if they did).
setTimeout(function () {
if (!(search_active || narrow.active())) {
if (!(narrow.active())) {
query.val('');
}
exports.update_button_visibility();
@ -323,7 +321,6 @@ exports.initiate_search = function () {
};
exports.clear_search = function () {
search_active = false;
narrow.deactivate();
$('table tr').removeHighlight();