new option: listFolded; listmaxheight -> listMaxHeight
This commit is contained in:
@@ -161,7 +161,7 @@ class Controller {
|
||||
}
|
||||
|
||||
initMenuButton () {
|
||||
this.player.template.list.style.height = this.player.template.list.offsetHeight + 'px';
|
||||
this.player.template.list.style.height = 33 * this.player.options.music.length - 1 + 'px';
|
||||
this.player.template.menu.addEventListener('click', () => {
|
||||
if (!this.player.template.list.classList.contains('aplayer-list-hide')) {
|
||||
this.player.template.list.classList.add('aplayer-list-hide');
|
||||
|
||||
Reference in New Issue
Block a user