|
@@ -1,5 +1,5 @@
|
|
$(document).ready(function() {
|
|
$(document).ready(function() {
|
|
- if($('#q')) {
|
|
|
|
|
|
+ if($('#q').length) {
|
|
$('#categories label').click(function(e) {
|
|
$('#categories label').click(function(e) {
|
|
$('#categories input[type="checkbox"]').each(function(i, checkbox) {
|
|
$('#categories input[type="checkbox"]').each(function(i, checkbox) {
|
|
$(checkbox).prop('checked', false);
|
|
$(checkbox).prop('checked', false);
|