change the utf-8 icon for playlist buttons
This commit is contained in:
parent
657a921e9a
commit
e66d16cb14
@ -272,11 +272,11 @@ wrapper.appendChild(controls);
|
||||
controls.style.width = mediaTag.getBoundingClientRect().width.toString() + "px";
|
||||
// appending the media tag to the wrapper removes it from the outer scope but keeps the event listeners
|
||||
wrapper.appendChild(mediaTag);
|
||||
left.innerHTML = "<"; // not textContent, because we MUST escape
|
||||
left.innerHTML = "◁"; // not textContent, because we MUST escape
|
||||
// the tag here and textContent shows the
|
||||
// escaped version
|
||||
left.onclick = () => changeTrack(mediaTag, -1);
|
||||
right.innerHTML = ">";
|
||||
right.innerHTML = "▷";
|
||||
right.onclick = () => changeTrack(mediaTag, +1);
|
||||
fetchPlaylist(
|
||||
url,
|
||||
|
Loading…
Reference in New Issue
Block a user