fix(itemHeight): take option as value

This commit is contained in:
Gabriel JUCHAULT 2018-10-24 10:41:10 +02:00 committed by GitHub
parent d583ccab0b
commit 0038586fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;