diff --git a/app/static/js/pandora-scroll.js b/app/static/js/pandora-scroll.js index 0a503e3..05c7abc 100644 --- a/app/static/js/pandora-scroll.js +++ b/app/static/js/pandora-scroll.js @@ -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 {