bug #3313210 [interface] Columns class sometimes changed for nothing

This commit is contained in:
Marc Delisle
2011-06-07 11:06:38 -04:00
parent 7afbe60f2b
commit 82ac1e8028
3 changed files with 6 additions and 2 deletions

View File

@@ -1145,14 +1145,14 @@ $(document).ready(function() {
/**
* vertical column highlighting in horizontal mode when hovering over the column header
*/
$('.column_heading').live('hover', function() {
$('.column_heading.pointer').live('hover', function() {
PMA_changeClassForColumn($(this), 'hover');
});
/**
* vertical column marking in horizontal mode when clicking the column header
*/
$('.column_heading').live('click', function() {
$('.column_heading.pointer').live('click', function() {
PMA_changeClassForColumn($(this), 'marked');
});
})