Fix: handle editDeleteText message (#635)

This commit is contained in:
eight 2019-01-02 21:46:51 +08:00 committed by Rob Garrison
parent 1fbbeae9b9
commit ad5c56c774

View File

@ -191,7 +191,7 @@ 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'}); msg.sendTab(tab.id, {method: 'editDeleteText'}, undefined, 'extension');
}, },
} }
}; };