mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
eyecandy: restore playback indicator on folder hop
This commit is contained in:
parent
55c74ad164
commit
abff40519d
|
@ -7294,6 +7294,15 @@ function reload_mp() {
|
||||||
plays[a].parentNode.innerHTML = '-';
|
plays[a].parentNode.innerHTML = '-';
|
||||||
|
|
||||||
mp = new MPlayer();
|
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);
|
setTimeout(pbar.onresize, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue