|
@@ -2303,7 +2303,7 @@
|
|
if (!self.hasborderbox) self.scrollvaluemax -= self.cursor[0].offsetHeight - self.cursor[0].clientHeight;
|
|
if (!self.hasborderbox) self.scrollvaluemax -= self.cursor[0].offsetHeight - self.cursor[0].clientHeight;
|
|
|
|
|
|
if (self.railh) {
|
|
if (self.railh) {
|
|
- self.railh.width = (self.page.maxh > 0) ? (self.view.w - self.rail.width) : self.view.w;
|
|
|
|
|
|
+ self.railh.width = (self.page.maxh > 0) ? (self.rail.width) : self.view.w;
|
|
self.scrollvaluemaxw = self.railh.width - self.cursorwidth - (opt.railpadding.left + opt.railpadding.right);
|
|
self.scrollvaluemaxw = self.railh.width - self.cursorwidth - (opt.railpadding.left + opt.railpadding.right);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3717,4 +3717,4 @@
|
|
$.nicescroll.options = _globaloptions;
|
|
$.nicescroll.options = _globaloptions;
|
|
}
|
|
}
|
|
|
|
|
|
-}));
|
|
|
|
|
|
+}));
|