diff --git a/core/misc/form.js b/core/misc/form.js index e1de89b..2d7f616 100644 --- a/core/misc/form.js +++ b/core/misc/form.js @@ -272,12 +272,11 @@ // Keep track of the table, which checkbox is checked and alias the // settings. var table = this; - var checkboxes; var $table = $(table); // For each of the checkboxes within the table that are not disabled. - checkboxes = $table.find('td.delta-remove input[type="checkbox"]:enabled').on('click', function (e) { - // Either add or remove the removed class based on the state of the + $table.find('td.delta-remove input[type="checkbox"]:enabled').on('click', function (e) { + // Either add or remove the selected class based on the state of the // check all checkbox. /**