wallabag/themes/default/js/popupForm.js
2014-04-08 21:58:44 +02:00

20 lines
No EOL
383 B
JavaScript

$(document).ready(function() {
$("#search-form").hide();
function closeSearch() {
$("#search-form").toggle();
$("#search").toggleClass("current");
$("#search-arrow").toggleClass("arrow-down");
}
$("#search").click(function(){
closeSearch();
});
$("#search-form-close").click(function(){
closeSearch();
});
});