mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 17:04:07 +01:00
💄
This commit is contained in:
parent
bebf6ad3c6
commit
fe4efa73a7
2 changed files with 7 additions and 4 deletions
|
|
@ -45,7 +45,7 @@ export class Tab {
|
|||
iconHTML = `<span class="item__icon">${unicode2Emoji(options.docIcon)}</span>`;
|
||||
}
|
||||
this.headElement.innerHTML = `${iconHTML}<span class="item__text">${escapeHtml(options.title)}</span>
|
||||
<span class="item__close"><svg><use xlink:href="#iconCloseRound"></use></svg></span>`;
|
||||
<span class="item__close"><svg><use xlink:href="#iconClose"></use></svg></span>`;
|
||||
this.headElement.addEventListener("mouseenter", (event) => {
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue