Merge pull request #104 from mda-php/master

FIXED ISSUE #69 Scrolling over fixed column header distorts the table
master
Mark Malek 2014-02-02 18:41:53 -08:00
commit 2deb86477c
2 changed files with 2 additions and 2 deletions

View File

@ -463,7 +463,7 @@
// bind mousewheel events // bind mousewheel events
var maxTop = $fixedColumn.find('.fht-tbody .fht-table').height() - $fixedColumn.find('.fht-tbody').height(); var maxTop = $fixedColumn.find('.fht-tbody .fht-table').height() - $fixedColumn.find('.fht-tbody').height();
$fixedColumn.find('.fht-table').bind('mousewheel', function(event, delta, deltaX, deltaY) { $fixedColumn.find('.fht-tbody .fht-table').bind('mousewheel', function(event, delta, deltaX, deltaY) {
if (deltaY == 0) { if (deltaY == 0) {
return; return;
} }

File diff suppressed because one or more lines are too long