mirror of
https://github.com/9001/copyparty.git
synced 2026-11-21 07:46:34 +00:00
eyecandy: restore playback indicator on folder hop
This commit is contained in:
1 parent
55c74ad164
commit
abff40519d
1 file changed
+9
@@ -7294,6 +7294,15 @@ function reload_mp() {
|
||||
plays[a].parentNode.innerHTML = '-';
|
||||
|
||||
mp = new MPlayer();
|
||||
if (mp.au && mp.au.tid) {
|
||||
var el = QS('a#a' + mp.au.tid);
|
||||
if (el)
|
||||
clmod(el, 'act', 1);
|
||||
|
||||
el = el && el.closest('tr');
|
||||
if (el)
|
||||
clmod(el, 'play', 1);
|
||||
}
|
||||
|
||||
setTimeout(pbar.onresize, 1);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user