mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 19:41:02 +00:00
21 lines
No EOL
418 B
JavaScript
21 lines
No EOL
418 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();
|
|
$('#searchfield').focus();
|
|
});
|
|
|
|
$("#search-form-close").click(function(){
|
|
closeSearch();
|
|
});
|
|
|
|
|
|
}); |