From d79e688d63008ef8b713f9e61fdd2defc89b2ef8 Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 2 Aug 2017 15:17:45 +0200 Subject: [PATCH] Update widget-scroller.js --- js/widgets/widget-scroller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/widgets/widget-scroller.js b/js/widgets/widget-scroller.js index 6b221c0e..340ee68c 100644 --- a/js/widgets/widget-scroller.js +++ b/js/widgets/widget-scroller.js @@ -274,8 +274,8 @@ .off( 'scroll' + namespace ) .on( 'scroll' + namespace, function() { //Save position - wo.scroller_saved[0] = $tableWrap.scrollLeft() - wo.scroller_saved[1] = $tableWrap.scrollTop() + wo.scroller_saved[0] = $tableWrap.scrollLeft(); + wo.scroller_saved[1] = $tableWrap.scrollTop(); if ( wo.scroller_jumpToHeader ) { var pos = $win.scrollTop() - $hdr.offset().top;