Update GoogleSearchReplace.plugin.js
This commit is contained in:
parent
90c1493599
commit
cc1782f18b
|
@ -122,7 +122,6 @@ class GoogleSearchReplace {
|
|||
}
|
||||
|
||||
onMessageContextMenu (instance, menu) {
|
||||
console.log(instance);
|
||||
if (instance.props && instance.props.message && instance.props.channel && instance.props.target && !menu.querySelector(".googlereplacesearch-item")) {
|
||||
let text = document.getSelection().toString();
|
||||
let searchinstance = BDFDB.getOwnerInstance({node:menu,props:["handleSearchWithGoogle"]});
|
||||
|
|
Loading…
Reference in New Issue