fix(itemHeight): take option as value
This commit is contained in:
parent
d583ccab0b
commit
0038586fa0
|
@ -80,7 +80,7 @@ function List(options) {
|
|||
}
|
||||
|
||||
if (this.options.itemHeight) {
|
||||
this.style.item.height = 2;
|
||||
this.style.item.height = this.options.itemHeight;
|
||||
}
|
||||
|
||||
this.interactive = options.interactive !== false;
|
||||
|
|
Loading…
Reference in New Issue