From 3b91b9f7c68938bd325dac5293265e5384b4f0ee Mon Sep 17 00:00:00 2001 From: Julius Date: Tue, 16 Jul 2013 22:03:47 +0200 Subject: [PATCH] Undo senseless indentation correction --- app/assets/javascripts/application.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 26990b6c..eb29678f 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -128,12 +128,12 @@ function updateSort(table) { // gives the row an yellow background function highlightRow(checkbox) { - var row = checkbox.closest('tr'); - if (checkbox.is(':checked')) { - row.addClass('selected'); - } else { - row.removeClass('selected'); - } + var row = checkbox.closest('tr'); + if (checkbox.is(':checked')) { + row.addClass('selected'); + } else { + row.removeClass('selected'); + } } // Use with auto_complete to set a unique id,