mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 12:38:30 +08:00
Fix scrollbar
This commit is contained in:
parent
3c9bed4b56
commit
470f39ce04
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue