Skip to content
This repository was archived by the owner on Jul 15, 2022. It is now read-only.

Wait for DOMContentLoaded event before calling self.init#154

Open
LeShrimp wants to merge 1 commit intornmp:masterfrom
LeShrimp:master
Open

Wait for DOMContentLoaded event before calling self.init#154
LeShrimp wants to merge 1 commit intornmp:masterfrom
LeShrimp:master

Conversation

@LeShrimp
Copy link

Hi,

I had trouble running salvattore. Googling for "salvattore not working" I found http://stackoverflow.com/questions/27120109/salvattore-does-not-work

This problem can easily be avoided by running self.init() only after the DOM has loaded. The proposed solution works for IE9+.

At least for me this change was useful, so I thought you might want to consider this. ;)

Cheers,
Maxime

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant