Fix scrollbar

This commit is contained in:
aignatov-bio 2020-01-29 11:14:25 +01:00
parent 3c9bed4b56
commit 470f39ce04

View file

@ -4,9 +4,9 @@ var activePSB = [];
var PerfectSb = (function() {
function init() {
activePSB.length = 0;
$.each($('.perfect-scrollbar'), function(index, object) {
var ps;
activePSB.length = 0;
ps = new PerfectScrollbar(object, { wheelSpeed: 0.5, minScrollbarLength: 20 });
activePSB.push(ps);
});