mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-14 13:01:09 +00:00
20 lines
383 B
JavaScript
20 lines
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();
|
||
|
});
|
||
|
|
||
|
|
||
|
});
|