Skip to content

Commit

Permalink
Fix domain value for Bing advertisement
Browse files Browse the repository at this point in the history
  • Loading branch information
stijn-uva committed Oct 1, 2024
1 parent c6a92b2 commit 9e5b2f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/bing.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ zoekplaatje.register_module(
title: ad.querySelector(selectors.title).innerText,
link: ad.querySelector(selectors.link).getAttribute('href'),
real_link: ad.querySelector(selectors.link_real).innerText,
description: ad.querySelector(selectors.description).innerText
description: safe_prop(ad.querySelector(selectors.description), 'innerText')
}
if(ad_item['link'].indexOf('://') < 0) {
ad_item['link'] = 'https://' + ad_item['link'];
Expand Down

0 comments on commit 9e5b2f5

Please sign in to comment.