diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index eb29678f..c6d6e36a 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -130,9 +130,9 @@ function updateSort(table) { function highlightRow(checkbox) { var row = checkbox.closest('tr'); if (checkbox.is(':checked')) { - row.addClass('selected'); + row.addClass('selected'); } else { - row.removeClass('selected'); + row.removeClass('selected'); } }