BaBar Widgets: pass a proper section name instead of a longer string.
This commit is contained in:
parent
28677d6888
commit
380f31fbd9
16 changed files with 19 additions and 33 deletions
|
|
@ -206,9 +206,9 @@ Singleton {
|
|||
|
||||
function getNPillDirection(widget) {
|
||||
try {
|
||||
if (widget.barSection === "leftSection") {
|
||||
if (widget.section === "left") {
|
||||
return true
|
||||
} else if (widget.barSection === "rightSection") {
|
||||
} else if (widget.section === "right") {
|
||||
return false
|
||||
} else {
|
||||
// middle section
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue