Update widget-scroller.js

This commit is contained in:
Lars 2017-08-02 15:17:45 +02:00 committed by Rob Garrison
parent 1b321aae40
commit d79e688d63

View File

@ -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;