Skip to content

Commit

Permalink
Reduce scrollInertia both popups (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanmahieu committed Jan 10, 2020
1 parent 8bf0847 commit 322bc86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions popup/tableview/popup-big.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ function createDataTable(tableElement, dateformat, scrollAmount, prefColVisible)
pageLength: 500,
fnDrawCallback: function(){
$('.dataTables_scrollBody').mCustomScrollbar({
scrollInertia: 500,
showArrows: true,
scrollButtons:{ enable: true, scrollAmount: 5 },
mouseWheel:{ scrollAmount: scrollAmount },
Expand Down
2 changes: 1 addition & 1 deletion popup/tableview/popup-small.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function createDataTable(dateformat, scrollAmount, prefColVisible) {
pageLength: 12,
fnDrawCallback: function(){
$('.dataTables_scrollBody').mCustomScrollbar({
scrollInertia: 1000,
scrollInertia: 500,
showArrows: true,
scrollButtons:{ enable: true, scrollAmount: 13 },
mouseWheel:{ scrollAmount: scrollAmount },
Expand Down

0 comments on commit 322bc86

Please sign in to comment.