From 6e889ed60dc614391dff7cda72a23387b70fe9ae Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Sat, 31 Oct 2015 15:46:55 -0600 Subject: [PATCH] Use hidden class for search field --- public/src/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/src/app.js b/public/src/app.js index c3727f6c77..8c2fdb1d12 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -360,8 +360,8 @@ app.cacheBuster = null; searchInput.on('blur', dismissSearch); function dismissSearch(){ - searchFields.addClass('hide'); - searchButton.show(); + searchFields.addClass('hidden'); + searchButton.removeClass('hidden'); } searchButton.on('click', function(e) { @@ -391,8 +391,8 @@ app.cacheBuster = null; }; app.prepareSearch = function() { - $("#search-fields").removeClass('hide'); - $("#search-button").hide(); + $("#search-fields").removeClass('hidden'); + $("#search-button").addClass('hidden'); $('#search-fields input').focus(); };