From 212e35e6fad7a7339bab5482cc631866521388ea Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 3 Jan 2019 11:03:39 +0100 Subject: [PATCH] Update GoogleSearchReplace.plugin.js --- Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js index b77bafba39..d2bbd83ab6 100644 --- a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js +++ b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js @@ -133,7 +133,7 @@ class GoogleSearchReplace { $(messageContextSubMenu) .on("click", ".GRS-item", (e2) => { instance._reactInternalFiber.return.memoizedProps.closeContextMenu(); - let engine = e2.currentTarget.getAttribute("engine"); + let engine = e2.target.getAttribute("engine"); console.log(engine); if (engine == "_all") { for (let key in engines) {