Browse Source

Init label wrapped checkboxes

Denis K 9 years ago
parent
commit
28f2af4ab3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jet/static/jet/js/main.js

+ 1 - 1
jet/static/jet/js/main.js

@@ -49,7 +49,7 @@
 
             var addLabelToCheckboxes = function() {
                 var $containers = $('.action-checkbox, .action-checkbox-column').add('.tabular.inline-related .form-row');
-                var $checkboxes = $containers.find('input[type="checkbox"]').add('.checkbox-without-label');
+                var $checkboxes = $containers.find('input[type="checkbox"]').add('.checkbox-without-label').add('label > input[type="checkbox"]');
 
                 $checkboxes.each(function() {
                     addLabelToCheckbox($(this));