{"size": 430, "ext": "js", "max_stars_repo_path": "assets/js/page-listeners/header-search.js", "max_stars_repo_name": "guillaume-sainthillier/ByNight", "max_stars_repo_stars_event_min_datetime": "2019-09-11T11:56:29.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-05T20:45:20.000Z", "max_issues_repo_path": "assets/js/page-listeners/header-search.js", "max_issues_repo_name": "guillaume-sainthillier/ByNight", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "assets/js/page-listeners/header-search.js", "max_forks_repo_name": "guillaume-sainthillier/ByNight", "max_forks_repo_forks_event_min_datetime": "2017-11-22T20:25:07.000Z", "max_forks_repo_forks_event_max_datetime": "2019-06-23T13:48:51.000Z"}
{"max_stars_count": 5, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 26.875, "max_line_length": 54, "alphanum_fraction": 0.5325581395}
export default () => {
    const searchForm = $('.navbar .search-form');
    const searchBackdrop = $('#search-menu-backdrop');

    searchForm
        .find('input')
        .focus(function () {
            searchForm.addClass('focus');
            searchBackdrop.addClass('open');
        })
        .blur(function () {
            searchForm.removeClass('focus');
            searchBackdrop.removeClass('open');
        });
};
