trip spaces

This commit is contained in:
j 2023-05-15 15:16:24 +01:00
parent 27cc1a81fd
commit 5dabdd8eec

View file

@ -75,9 +75,9 @@ class PandoraScroll extends HTMLElement {
config[a.name] = a.value != 'false'
}
if (a.name == 'layers') {
config[a.name] = a.value.split(' ')
config[a.name] = a.value.trim().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) {
config[a.name] = parseTime(a.value)
} else {