mirror of
				https://github.com/9001/copyparty.git
				synced 2025-11-02 21:13:26 +00:00 
			
		
		
		
	eyecandy: restore playback indicator on folder hop
This commit is contained in:
		@@ -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