Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f79f6713 authored by Adam Tauber's avatar Adam Tauber
Browse files

[fix] do not use category select js if there is no search query field on the page

parent 021c8b25
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
$(document).ready(function() {
    if($('#q')) {
    if($('#q').length) {
        $('#categories label').click(function(e) {
            $('#categories input[type="checkbox"]').each(function(i, checkbox) {
                $(checkbox).prop('checked', false);