Skip to content

Commit

Permalink
chore: add ext name to title
Browse files Browse the repository at this point in the history
  • Loading branch information
Aqours committed Nov 22, 2023
1 parent cade3b7 commit 322975b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/popup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class ExtensionManager {
}
span.textContent = img.alt = item.shortName || item.name;
img.src = `${iconInfo.url}${item.enabled ? "" : "?grayscale=true"}`;
li.title = chrome.i18n.getMessage(item.enabled ? "disable_extension" : "enable_extension");
li.title = `${item.name}\n${chrome.i18n.getMessage(item.enabled ? "disable_extension" : "enable_extension")}`;
li.dataset.enabled = item.enabled.toString();
}

Expand Down

0 comments on commit 322975b

Please sign in to comment.