mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-16 20:18:06 +01:00
🎨 Clean code
This commit is contained in:
parent
26984f39df
commit
94d3ccfa9f
12 changed files with 39 additions and 39 deletions
|
|
@ -811,7 +811,7 @@ export class Gutter {
|
|||
});
|
||||
}
|
||||
}).element);
|
||||
const range = getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : undefined
|
||||
const range = getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : undefined;
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.addToDatabase,
|
||||
accelerator: window.siyuan.config.keymap.general.addToDatabase.custom,
|
||||
|
|
@ -1279,7 +1279,7 @@ export class Gutter {
|
|||
});
|
||||
}
|
||||
}).element);
|
||||
const range = getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : undefined
|
||||
const range = getSelection().rangeCount > 0 ? getSelection().getRangeAt(0) : undefined;
|
||||
window.siyuan.menus.menu.append(new MenuItem({
|
||||
label: window.siyuan.languages.addToDatabase,
|
||||
accelerator: window.siyuan.config.keymap.general.addToDatabase.custom,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue