mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Fix curlies for grunt and sane poeple
This commit is contained in:
parent
c1ae2fef7b
commit
276f3fb650
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user