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) $(messageContextSubMenu)
.on("click", ".GRS-item", (e2) => { .on("click", ".GRS-item", (e2) => {
instance._reactInternalFiber.return.memoizedProps.closeContextMenu(); instance._reactInternalFiber.return.memoizedProps.closeContextMenu();
let engine = e2.target.getAttribute("engine"); let engine = e2.currentTarget.getAttribute("engine");
if (engine == "_all") { if (engine == "_all") {
for (let key in engines) { for (let key in engines) {
if (key != "_all" && engines[key]) { if (key != "_all" && engines[key]) {