Use HiFi glyph for delete "x"s

This commit is contained in:
David Rowe 2017-04-14 15:30:28 +12:00
parent 5f333ee02c
commit 11a2559df9
2 changed files with 15 additions and 2 deletions

View file

@ -62,6 +62,18 @@ body {
}
#recordings-list tr td:last-child span {
font-family: HiFi-Glyphs;
font-size: 24px;
height: 24px;
display: inline-block;
}
#recordings-list tr td:last-child span:hover {
color: #00b4ef;
}
#recordings tfoot tr {
height: 24px;
}

View file

@ -62,7 +62,8 @@ function updateRecordings() {
span,
input,
length,
i;
i,
HIFI_GLYPH_CLOSE_SMALL = "C";
recordingsBeingPlayed.sort(orderRecording);
@ -76,7 +77,7 @@ function updateRecordings() {
tr.appendChild(td);
td = document.createElement("td");
span = document.createElement("span");
span.innerHTML = "x";
span.innerHTML = HIFI_GLYPH_CLOSE_SMALL;
span.addEventListener("click", stopPlayingRecording);
input = document.createElement("input");
input.setAttribute("type", "hidden");