Denis K 8 лет назад
Родитель
Сommit
ad9a57c271
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      jet/static/jet/js/src/features/checkboxes.js

+ 1 - 1
jet/static/jet/js/src/features/checkboxes.js

@@ -21,7 +21,7 @@ Checkboxes.prototype = {
         $('input[type="checkbox"]').each(function() {
         $('input[type="checkbox"]').each(function() {
             var $checkbox = $(this);
             var $checkbox = $(this);
 
 
-            if ($checkbox.attr('id') != undefined && $('label[for="' + $checkbox.attr('id') + '"').length != 0) {
+            if ($checkbox.attr('id') != undefined && $('label[for="' + $checkbox.attr('id') + '"]').length != 0) {
                 return;
                 return;
             }
             }