mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Update widget-scroller.js
This commit is contained in:
parent
1b321aae40
commit
d79e688d63
@ -274,8 +274,8 @@
|
|||||||
.off( 'scroll' + namespace )
|
.off( 'scroll' + namespace )
|
||||||
.on( 'scroll' + namespace, function() {
|
.on( 'scroll' + namespace, function() {
|
||||||
//Save position
|
//Save position
|
||||||
wo.scroller_saved[0] = $tableWrap.scrollLeft()
|
wo.scroller_saved[0] = $tableWrap.scrollLeft();
|
||||||
wo.scroller_saved[1] = $tableWrap.scrollTop()
|
wo.scroller_saved[1] = $tableWrap.scrollTop();
|
||||||
|
|
||||||
if ( wo.scroller_jumpToHeader ) {
|
if ( wo.scroller_jumpToHeader ) {
|
||||||
var pos = $win.scrollTop() - $hdr.offset().top;
|
var pos = $win.scrollTop() - $hdr.offset().top;
|
||||||
|
Loading…
Reference in New Issue
Block a user