mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
indicate onclick action for audio files in grid view
This commit is contained in:
parent
4acaf24d65
commit
8f3d97dde7
|
@ -950,6 +950,12 @@ html.light .ghead {
|
|||
#ggrid>a.dir:before {
|
||||
content: '📂';
|
||||
}
|
||||
#ggrid>a.au:before {
|
||||
content: '💾';
|
||||
}
|
||||
html.np_open #ggrid>a.au:before {
|
||||
content: '▶';
|
||||
}
|
||||
#ggrid>a:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
|
|
|
@ -539,6 +539,7 @@ function MPlayer() {
|
|||
r.tracks[tid] = url;
|
||||
tds[0].innerHTML = '<a id="a' + tid + '" href="#a' + tid + '" class="play">play</a></td>';
|
||||
ebi('a' + tid).onclick = ev_play;
|
||||
clmod(trs[a], 'au', 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue