Remove remaining inline display style.

It caused regression bugs.
This commit is contained in:
Hyunje Alex Jun 2014-11-05 18:51:52 +00:00
parent f9c3dc0b20
commit 1849e64122

View File

@ -163,7 +163,7 @@
}
function updateCss() {
var xRailOffset = {width: containerWidth, display: scrollbarXActive ? "inherit" : "none"};
var xRailOffset = {width: containerWidth};
if (isRtl) {
xRailOffset.left = $this.scrollLeft() + containerWidth - contentWidth;
} else {
@ -176,7 +176,7 @@
}
$scrollbarXRail.css(xRailOffset);
var railYOffset = {top: $this.scrollTop(), height: containerHeight, display: scrollbarYActive ? "inherit" : "none"};
var railYOffset = {top: $this.scrollTop(), height: containerHeight};
if (isScrollbarYUsingRight) {
if (isRtl) {