Skip to content

Commit

Permalink
Reduce scrollInertia to reduce performance impact for the small popdo…
Browse files Browse the repository at this point in the history
…wn panel (#79)
  • Loading branch information
stephanmahieu committed Jan 3, 2020
1 parent 7c81d2e commit ec9bafa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion popup/tableview/popup-small.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ function createDataTable(dateformat, scrollAmount, prefColVisible) {
pageLength: 12,
fnDrawCallback: function(){
$('.dataTables_scrollBody').mCustomScrollbar({
showArrows: 'true',
scrollInertia: 1000,
showArrows: true,
scrollButtons:{ enable: true, scrollAmount: 13 },
mouseWheel:{ scrollAmount: scrollAmount },
keyboard:{ enable: true, scrollAmount: 13 },
Expand Down

0 comments on commit ec9bafa

Please sign in to comment.