feat: use brave search for the logos if google fails (#169)

This commit is contained in:
Miguel Ribeiro
2024-02-29 20:47:07 +01:00
committed by GitHub
parent 284cf62fcf
commit fff783e4e8
3 changed files with 33 additions and 8 deletions

View File

@@ -213,6 +213,9 @@ function displayImageResults(imageSources) {
img.onclick = function() {
selectWebLogo(src);
};
img.onerror = function() {
this.parentNode.removeChild(this);
};
logoResults.appendChild(img);
});
}