We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 336ff3f commit ff6ee88Copy full SHA for ff6ee88
src/js/reverseImageSearch.js
@@ -175,7 +175,9 @@ export const reverseImageSearch = {
175
//second <a> contain sourceUrl and thumbUrl
176
const tagA = singleItem.getElementsByTagName("a");
177
singleResult.sourceUrl = tagA[0].getAttribute("href");
178
- singleResult.title = tagA[0].innerText;
+ let title = tagA[0].childNodes;
179
+ //console.log(title[0]);
180
+ singleResult.title = title[0].innerText;
181
//new method to dig the image Source
182
for(let i = 2; i < tagA.length;i++){
183
if(tagA[i]){
0 commit comments