This commit is contained in:
tcit
2014-10-15 16:47:38 +02:00
parent 8fd0512a3c
commit 48fb171d7a
2 changed files with 14 additions and 1 deletions

View File

@ -10,6 +10,14 @@ $(document).ready(function() {
$("#search").click(function(){
closeSearch();
// if other popup is already shown
if ($("#bagit-form").length != 0) {
$("#bagit").removeClass("active-current");
$('#content').removeClass("opacity03");
$("#bagit").removeClass("current");
$("#bagit-arrow").removeClass("arrow-down");
$("#bagit-form").hide();
}
$('#searchfield').focus();
});