don't spam console errors on contextMenu 'delete' command

This commit is contained in:
tophf 2020-10-29 00:13:15 +03:00
parent b56dacb6b2
commit 72cb5bdc9a

View File

@ -192,7 +192,8 @@ contextMenus = {
contexts: ['editable'],
documentUrlPatterns: [URLS.ownOrigin + 'edit*'],
click: (info, tab) => {
msg.sendTab(tab.id, {method: 'editDeleteText'}, undefined, 'extension');
msg.sendTab(tab.id, {method: 'editDeleteText'}, undefined, 'extension')
.catch(msg.ignoreError);
},
}
};