Fix curlies for grunt and sane poeple

This commit is contained in:
Justin F. Hallett 2015-10-28 14:17:29 -06:00
parent c1ae2fef7b
commit 276f3fb650

View File

@ -204,14 +204,13 @@
// set scrollbar width to one of the following (1) explicitly set scroller_barWidth option,
// (2) detected scrollbar width or (3) fallback of 15px
if (wo.scroller_barWidth !== null)
if (wo.scroller_barWidth !== null) {
wo.scroller_barSetWidth = wo.scroller_barWidth;
else {
} else {
var detectedWidth = tsScroller.getBarWidth();
if (detectedWidth !== null){
wo.scroller_barSetWidth = detectedWidth;
}
else {
} else {
wo.scroller_barSetWidth = 15;
}
}