瀏覽代碼

Fix mistype

Denis K 8 年之前
父節點
當前提交
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() {
             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;
             }