metowolf / MetingJS

:cake: A powerful plugin connect APlayer and Meting
https://i-meto.com/about/
MIT License
1.17k stars 158 forks source link

页面切换报错。 #40

Closed makisevon closed 4 years ago

makisevon commented 4 years ago

Uncaught TypeError: Cannot read property 'classList' of undefined at e.value (list.js:176) at e.value (player.js:516) at player.js:184

list.js:176
this.player.container.querySelectorAll('.aplayer-list li')[this.index].classList.add('aplayer-list-light');

See Link . 1.点击 Playlist 进入带 歌单 的页面。 2.切换到其他页面。 3.再点击 Playlist 进入含含 meting-js 标签的页面,即报错。

用的是 1.20 + loadMeting() 适应pjax. 曾试过切换至 2.01,依然报错。