From 902b6fe97ad057a0f5abcce8587068da761094e7 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Sun, 5 Jun 2022 09:03:05 -0700 Subject: [PATCH] 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. --- apple/Sources/ShareExtension/ShareExtension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/Sources/ShareExtension/ShareExtension.js b/apple/Sources/ShareExtension/ShareExtension.js index 1b2f22b4d..7474b0ba7 100644 --- a/apple/Sources/ShareExtension/ShareExtension.js +++ b/apple/Sources/ShareExtension/ShareExtension.js @@ -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 = {