Fixed "All" option not working in RIS

This commit is contained in:
Mirco Wittrien 2018-10-21 11:28:29 +02:00
parent dab8d148bb
commit 7d5f60b698
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ class ReverseImageSearch {
getDescription () {return "Adds a reverse image search option to the context menu.";}
getVersion () {return "3.3.7";}
getVersion () {return "3.3.8";}
getAuthor () {return "DevilBro";}
@ -169,7 +169,7 @@ class ReverseImageSearch {
if (engine == "_all") {
var engines = BDFDB.getAllData(this, "engines");
for (let key in engines) {
if (key != "_all" && engines[key]) window.open(this.defaults.engines[key].url.replace(this.imgUrlReplaceString, encodeURIComponent(text)), "_blank");
if (key != "_all" && engines[key]) window.open(this.defaults.engines[key].url.replace(this.imgUrlReplaceString, encodeURIComponent(imageurl)), "_blank");
}
}
else {