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, // set scrollbar width to one of the following (1) explicitly set scroller_barWidth option,
// (2) detected scrollbar width or (3) fallback of 15px // (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; wo.scroller_barSetWidth = wo.scroller_barWidth;
else { } else {
var detectedWidth = tsScroller.getBarWidth(); var detectedWidth = tsScroller.getBarWidth();
if (detectedWidth !== null){ if (detectedWidth !== null){
wo.scroller_barSetWidth = detectedWidth; wo.scroller_barSetWidth = detectedWidth;
} } else {
else {
wo.scroller_barSetWidth = 15; wo.scroller_barSetWidth = 15;
} }
} }