default to pause
This commit is contained in:
parent
9cf3c485f6
commit
eb7152bde6
1 changed files with 2 additions and 2 deletions
|
@ -66,12 +66,12 @@ class PandoraScroll extends HTMLElement {
|
||||||
|
|
||||||
_config() {
|
_config() {
|
||||||
var config = {
|
var config = {
|
||||||
loop: false
|
pause: true
|
||||||
}
|
}
|
||||||
for (var i=0; i<this.attributes.length; i++) {
|
for (var i=0; i<this.attributes.length; i++) {
|
||||||
var a = this.attributes[i]
|
var a = this.attributes[i]
|
||||||
config[a.name] = a.value
|
config[a.name] = a.value
|
||||||
if (a.name == 'loop') {
|
if (a.name == 'pause') {
|
||||||
config[a.name] = a.value != 'false'
|
config[a.name] = a.value != 'false'
|
||||||
}
|
}
|
||||||
if (a.name == 'layers') {
|
if (a.name == 'layers') {
|
||||||
|
|
Loading…
Reference in a new issue