Skip to content

Commit

Permalink
code>modify.misc: add tooltip(title)of help msg to tag span
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnfan committed May 23, 2023
1 parent 6898212 commit 8fd873a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/tagmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ function addTags(tags, withCount = false, sort = "original") {
tagSpan.classList.add("tag-span");
tagSpan.style.backgroundColor = `#${rainbow.colorAt(count)}`;
tagSpan.innerText = `${tag}`;
tagSpan.title = "Left Click to show definition of this tag.\nRight Click to add this tag into the header filter input box."
if (withCount) {
let tagCountSub = document.createElement("sub");
tagSpan.appendChild(tagCountSub);
Expand Down

0 comments on commit 8fd873a

Please sign in to comment.