kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fixed issue with undefined el
rodzic
e34a90314f
commit
4f7052f589
|
@ -357,7 +357,8 @@ export default {
|
|||
this.$nextTick(() => {
|
||||
self.bindEvents()
|
||||
if (self.tracks.length > 0) {
|
||||
var topPos = document.getElementById(`queue-item-${v}`).offsetTop;
|
||||
let el = document.getElementById(`queue-item-${v}`);
|
||||
var topPos = el.offsetTop;
|
||||
document.getElementById('queue').scrollTop = topPos-10;
|
||||
}
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue