From e499344194117c7740e8bb4bd9603cd3c5048775 Mon Sep 17 00:00:00 2001 From: Atul Pratap Singh Date: Sat, 4 Jan 2014 17:45:40 +0530 Subject: [PATCH] Enable hovering, marking of columns via sticky header also Signed-off-by: Atul Pratap Singh --- js/sql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/sql.js b/js/sql.js index 64db28261d..6b041082e7 100644 --- a/js/sql.js +++ b/js/sql.js @@ -409,7 +409,7 @@ function PMA_changeClassForColumn($this_th, newclass, isAddClass) if (has_big_t) { th_index--; } - var $tds = $this_th.closest('table').find('tbody tr').find('td.data:eq(' + th_index + ')'); + var $tds = $("#table_results").find('tbody tr').find('td.data:eq(' + th_index + ')'); if (isAddClass === undefined) { $tds.toggleClass(newclass); } else {