Skip to content

Doesn't work when loading via <head> #3

Description

@andymason

When setting up the mutation observer the code assumes the <body> tag is available, which when loading via the head it isn't.

https://github.com/guardian/iframe-messenger/blob/master/src/iframeMessenger.js#L139

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions