mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🚨
This commit is contained in:
parent
2088200677
commit
e9df16cfd7
1 changed files with 3 additions and 3 deletions
|
@ -378,7 +378,7 @@ export class Gutter {
|
|||
transaction(protyle, doOperations, undoOperations);
|
||||
} else {
|
||||
const hasFold = setFold(protyle, foldElement);
|
||||
const foldArrowElement = buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement
|
||||
const foldArrowElement = buttonElement.parentElement.querySelector("[data-type='fold'] > svg") as HTMLElement;
|
||||
if (hasFold !== -1 && foldArrowElement) {
|
||||
foldArrowElement.style.transform = hasFold === 0 ? "rotate(90deg)" : "";
|
||||
}
|
||||
|
@ -2372,9 +2372,9 @@ export class Gutter {
|
|||
gutterTip = this.gutterTip.split("<br>").splice(0, 2).join("<br>");
|
||||
}
|
||||
|
||||
let popoverHTML = ""
|
||||
let popoverHTML = "";
|
||||
if (protyle.options.backlinkData) {
|
||||
popoverHTML = `class="popover__block" data-id="${dataNodeId}"`
|
||||
popoverHTML = `class="popover__block" data-id="${dataNodeId}"`;
|
||||
}
|
||||
const buttonHTML = `<button class="ariaLabel" data-position="right" aria-label="${gutterTip}"
|
||||
data-type="${type}" data-subtype="${nodeElement.getAttribute("data-subtype")}" data-node-id="${dataNodeId}">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue