diff --git a/static/js/custom.js b/static/js/custom.js index ed761fc..a77ddbd 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -2,11 +2,11 @@ // Expandable Search on Users and Machines pages //----------------------------------------------------------- function show_search() { - $('.').removeClass('hide'); + $('#nav-search').removeClass('hide'); } function hide_search() { - $('.').addClass('hide'); + $('#nav-search').addClass('hide'); } diff --git a/templates/template.html b/templates/template.html index 7cd2c73..71f2fb2 100644 --- a/templates/template.html +++ b/templates/template.html @@ -55,7 +55,7 @@