mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
code cleanup
This commit is contained in:
@@ -303,11 +303,9 @@ async function saveTabs() {
|
||||
return;
|
||||
}
|
||||
|
||||
toast(
|
||||
`${tabs.length} links have been saved to Trilium.`,
|
||||
resp.noteId,
|
||||
tabs.map(tab=>{return tab.id})
|
||||
);
|
||||
const tabIds = tabs.map(tab=>{return tab.id});
|
||||
|
||||
toast(`${tabs.length} links have been saved to Trilium.`, resp.noteId, tabIds);
|
||||
}
|
||||
|
||||
browser.contextMenus.onClicked.addListener(async function(info, tab) {
|
||||
|
||||
Reference in New Issue
Block a user