Skip to content

Fix preview not rendering in Chrome#7

Open
artfulrobot wants to merge 1 commit intoneuerituale:masterfrom
artfulrobot:fix-preview-not-rendering-chrome
Open

Fix preview not rendering in Chrome#7
artfulrobot wants to merge 1 commit intoneuerituale:masterfrom
artfulrobot:fix-preview-not-rendering-chrome

Conversation

@artfulrobot
Copy link

PR to fix #6

@artfulrobot
Copy link
Author

It seems that this code gets called twice. In Firefox template is always defined; in Chrome it is only defined the 2nd time the function is called.

This fixes it by ignoring the time when template is not defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in Chrome since upgrade

1 participant