mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 10:00:13 +01:00
🚨
This commit is contained in:
parent
349c45d137
commit
9ddd1c4674
6 changed files with 11 additions and 14 deletions
|
|
@ -139,7 +139,7 @@ export class Wnd {
|
|||
event.preventDefault();
|
||||
const it = this as HTMLElement;
|
||||
if (event.dataTransfer.types.includes(Constants.SIYUAN_DROP_FILE)) {
|
||||
it.style.opacity = ".1"
|
||||
it.style.opacity = ".1";
|
||||
return;
|
||||
}
|
||||
const newTabHeaderElement = hasClosestByTag(event.target, "LI");
|
||||
|
|
@ -444,7 +444,7 @@ export class Wnd {
|
|||
}
|
||||
|
||||
setTimeout(() => {
|
||||
tab.headElement.removeAttribute("style")
|
||||
tab.headElement.removeAttribute("style");
|
||||
}, Constants.TIMEOUT_TRANSITION);
|
||||
|
||||
tab.headElement.querySelector(".item__close").addEventListener("click", (event) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue