Skip to content

Commit 221abe8

Browse files
committed
🚨
1 parent bcc7a5f commit 221abe8

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/src/protyle/render/av/groups.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ ${html}
100100
</div>`;
101101
};
102102

103-
export const bindGroupsEvent = (protyle: IProtyle, menuElement: HTMLElement, data: IAV, blockID: string) => {
103+
export const bindGroupsEvent = () => {
104104

105105
};

app/src/protyle/render/av/number.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,5 @@ export const getLabelByNumberFormat = (format: string) => {
240240
return window.siyuan.languages.numberFormatPercent;
241241
}
242242

243-
let key = "numberFormat" + format;
244-
return window.siyuan.languages[key]
243+
return window.siyuan.languages["numberFormat" + format];
245244
};

app/src/protyle/render/av/openMenuPanel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ export const openMenuPanel = (options: {
579579
break;
580580
} else if (type === "goGroups") {
581581
menuElement.innerHTML = getGroupsHTML(fields, data.view.group);
582-
bindGroupsEvent(options.protyle, menuElement, data, blockID);
582+
bindGroupsEvent();
583583
setPosition(menuElement, tabRect.right - menuElement.clientWidth, tabRect.bottom, tabRect.height);
584584
window.siyuan.menus.menu.remove();
585585
event.preventDefault();

0 commit comments

Comments
 (0)