Fix issue with ShareExtension.js not executing on iOS

Returning undefined here fixes issues where pages would fail
to scrape if there was no preview image available.
This commit is contained in:
Jackson Harper
2022-06-05 09:03:05 -07:00
parent 3a1d75de29
commit 902b6fe97a

View File

@ -7,7 +7,7 @@ function iconURL() {
return document.querySelector("link[rel='apple-touch-icon'], link[rel='shortcut icon'], link[rel='icon']").href
} catch {}
return null
return undefined
}
ShareExtension.prototype = {