From 1f08e407d1fde3de99010f948ea679a7945bbe4f Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Tue, 3 Sep 2013 11:45:15 -0400 Subject: [PATCH] closes #248 --- public/src/forum/footer.js | 7 +++++++ public/templates/header.tpl | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/public/src/forum/footer.js b/public/src/forum/footer.js index a67b349118..24e2d66cd2 100644 --- a/public/src/forum/footer.js +++ b/public/src/forum/footer.js @@ -53,7 +53,13 @@ jQuery('#search-fields').hide(); jQuery('#search-button').show(); }); + + $('#search-fields input').on('blur', function() { + $('#search-fields').hide(); + $('#search-button').show(); + }); }); + var rightMenu = $('#right-menu'), isLoggedIn = data.uid > 0; @@ -82,6 +88,7 @@ rightMenu.append(logoutli); } } else { + $('#search-button').hide(); jQuery('.nodebb-loggedin').hide(); jQuery('.nodebb-loggedout').show(); diff --git a/public/templates/header.tpl b/public/templates/header.tpl index 3ff41760ed..c1cacce2f9 100644 --- a/public/templates/header.tpl +++ b/public/templates/header.tpl @@ -63,13 +63,13 @@ + + + +