diff --git a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js index 18391ed051..b018285792 100644 --- a/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js +++ b/Plugins/GoogleSearchReplace/GoogleSearchReplace.plugin.js @@ -3,7 +3,7 @@ class GoogleSearchReplace { getName () {return "GoogleSearchReplace";} - getVersion () {return "1.2.0";} + getVersion () {return "1.2.1";} getAuthor () {return "DevilBro";} @@ -122,8 +122,8 @@ class GoogleSearchReplace { for (let key in engines) if (engines[key]) items.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ContextMenuItem, { label: this.defaults.engines[key].name, danger: key == "_all", - action: e => { - if (!e.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); + action: event => { + if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); if (key == "_all") { for (let key2 in engines) if (key2 != "_all" && engines[key2]) window.open(this.defaults.engines[key2].url.replace(this.textUrlReplaceString, encodeURIComponent(text)), "_blank"); } diff --git a/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js b/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js index a4c96a60d0..b79d655c4a 100644 --- a/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js +++ b/Plugins/ReverseImageSearch/ReverseImageSearch.plugin.js @@ -3,7 +3,7 @@ class ReverseImageSearch { getName () {return "ReverseImageSearch";} - getVersion () {return "3.4.7";} + getVersion () {return "3.4.8";} getAuthor () {return "DevilBro";} @@ -153,8 +153,8 @@ class ReverseImageSearch { for (let key in engines) if (engines[key]) items.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.ContextMenuItem, { label: this.defaults.engines[key].name, danger: key == "_all", - action: e => { - if (!e.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); + action: event => { + if (!event.shiftKey) BDFDB.ContextMenuUtils.close(e.instance); if (key == "_all") { for (let key2 in engines) if (key2 != "_all" && engines[key2]) window.open(this.defaults.engines[key2].url.replace(this.imgUrlReplaceString, encodeURIComponent(url)), "_blank"); }