Skip to content

Commit

Permalink
more specific selector
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Oct 12, 2021
1 parent 76692c6 commit 9707bab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PrivacyProtection/PrivacyProtection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export default injectIntl(
fetch(
`${getBaseUrl(
'',
)}/cors-proxy/https://screenshot.eea.europa.eu/api/v1/retrieve_image_for_url?url=${url}&w=1920&waitfor=4000${
param ? `&waitforselector=img[decoding="sync"]` : ''
)}/cors-proxy/https://screenshot.eea.europa.eu/api/v1/retrieve_image_for_url?url=${url}&w=1920&waitfor=6000${
param ? `&waitforselector=img[src*=${param}]` : ''
}`,
)
.then((e) => e.blob())
Expand Down

0 comments on commit 9707bab

Please sign in to comment.