Skip to content

Conversation

cooperok
Copy link

Hi, I'm added listener on error to prevent situation when images are hidden.

To use it, just include file onerror.js. Better if it will be include before all scripts. For example in my project all scripts are combined in one file, and if some error will occure, images will be hidden.
Sometimes happens that loaded scripts are broken or something else so we don't have mootools features, this is the reason why I'm wrote this script in native code.

Hope it will be usefull.

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.

1 participant