wallabag/themes/default/js/popupForm.js

21 lines
418 B
JavaScript
Raw Normal View History

$(document).ready(function() {
$("#search-form").hide();
function closeSearch() {
$("#search-form").toggle();
$("#search").toggleClass("current");
$("#search-arrow").toggleClass("arrow-down");
}
$("#search").click(function(){
closeSearch();
2014-10-04 16:44:18 +00:00
$('#searchfield').focus();
});
$("#search-form-close").click(function(){
closeSearch();
});
});