mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-06 13:40:16 +08:00
added balloon when no tags
added nausea theme info icon
This commit is contained in:
parent
1d579a2ed7
commit
d73195b795
1 changed files with 5 additions and 1 deletions
|
@ -689,6 +689,10 @@ function loadMoreLines() {
|
|||
icons += `<span aria-label="blind mode" data-balloon-pos="up"><i class="fas fa-fw fa-eye-slash"></i></span>`;
|
||||
}
|
||||
|
||||
if (result.theme === "nausea") {
|
||||
icons += `<span aria-label="nausea theme" data-balloon-pos="up"><i class="fas fa-skull-crossbones"></i></span>`;
|
||||
}
|
||||
|
||||
let tagNames = "";
|
||||
|
||||
if (result.tags !== undefined && result.tags.length > 0) {
|
||||
|
@ -713,7 +717,7 @@ function loadMoreLines() {
|
|||
restags = JSON.stringify(result.tags);
|
||||
}
|
||||
|
||||
let tagIcons = `<span id="resultEditTags" resultId="${result.id}" tags='${restags}' style="opacity: .25"><i class="fas fa-fw fa-tag"></i></span>`;
|
||||
let tagIcons = `<span id="resultEditTags" resultId="${result.id}" tags='${restags}' aria-label="no tags" data-balloon-pos="up" style="opacity: .25"><i class="fas fa-fw fa-tag"></i></span>`;
|
||||
|
||||
if (tagNames !== "") {
|
||||
if (result.tags !== undefined && result.tags.length > 1) {
|
||||
|
|
Loading…
Add table
Reference in a new issue