Skip to content

Commit

Permalink
[iOS] - Fix readermode token missing in script message (#27131)
Browse files Browse the repository at this point in the history
Fix readermode sectoken missing in script message
  • Loading branch information
Brandon-T authored Jan 6, 2025
1 parent b375744 commit 15ddcbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function checkReadability() {
}

if(!isProbablyReaderable(document)) {
webkit.messageHandlers.readerModeMessageHandler.postMessage({Type: "ReaderModeStateChange", Value: "Unavailable"});
webkit.messageHandlers.readerModeMessageHandler.postMessage({"securityToken": SECURITY_TOKEN, "data": {Type: "ReaderModeStateChange", Value: "Unavailable"}});
return;
}

Expand Down

0 comments on commit 15ddcbb

Please sign in to comment.