indicate onclick action for audio files in grid view

This commit is contained in:
ed 2021-11-24 22:10:59 +01:00
parent 4acaf24d65
commit 8f3d97dde7
2 changed files with 7 additions and 0 deletions

View file

@ -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;

View file

@ -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);
}
}