Update GoogleSearchReplace.plugin.js

This commit is contained in:
Mirco Wittrien 2019-01-03 11:05:47 +01:00
parent 3f75ba22ed
commit 1a371385e9
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class GoogleSearchReplace {
$(messageContextSubMenu)
.on("click", ".GRS-item", (e2) => {
instance._reactInternalFiber.return.memoizedProps.closeContextMenu();
let engine = e2.target.getAttribute("engine");
let engine = e2.currentTarget.getAttribute("engine");
if (engine == "_all") {
for (let key in engines) {
if (key != "_all" && engines[key]) {