trip spaces
This commit is contained in:
parent
27cc1a81fd
commit
5dabdd8eec
1 changed files with 2 additions and 2 deletions
|
@ -75,9 +75,9 @@ class PandoraScroll extends HTMLElement {
|
||||||
config[a.name] = a.value != 'false'
|
config[a.name] = a.value != 'false'
|
||||||
}
|
}
|
||||||
if (a.name == 'layers') {
|
if (a.name == 'layers') {
|
||||||
config[a.name] = a.value.split(' ')
|
config[a.name] = a.value.trim().split(' ')
|
||||||
} else if (a.name == 'split') {
|
} else if (a.name == 'split') {
|
||||||
config[a.name] = a.value.split(' ')
|
config[a.name] = a.value.trim().split(' ')
|
||||||
} else if (['in', 'out'].indexOf(a.name) > -1) {
|
} else if (['in', 'out'].indexOf(a.name) > -1) {
|
||||||
config[a.name] = parseTime(a.value)
|
config[a.name] = parseTime(a.value)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue