Verified Commit 2aee8d79 authored by Agate's avatar Agate 💬

Fixed attribute error

parent cd9cd4d0
Pipeline #4057 passed with stages
in 3 minutes and 4 seconds
......@@ -358,6 +358,9 @@ export default {
self.bindEvents()
if (self.tracks.length > 0) {
let el = document.getElementById(`queue-item-${v}`);
if (!el) {
return
}
var topPos = el.offsetTop;
document.getElementById('queue').scrollTop = topPos-10;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment