don't spam console errors on contextMenu 'delete' command
This commit is contained in:
parent
b56dacb6b2
commit
72cb5bdc9a
|
@ -192,7 +192,8 @@ contextMenus = {
|
||||||
contexts: ['editable'],
|
contexts: ['editable'],
|
||||||
documentUrlPatterns: [URLS.ownOrigin + 'edit*'],
|
documentUrlPatterns: [URLS.ownOrigin + 'edit*'],
|
||||||
click: (info, tab) => {
|
click: (info, tab) => {
|
||||||
msg.sendTab(tab.id, {method: 'editDeleteText'}, undefined, 'extension');
|
msg.sendTab(tab.id, {method: 'editDeleteText'}, undefined, 'extension')
|
||||||
|
.catch(msg.ignoreError);
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user