Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix removal of error event handler in image loader

Thanks to Szymon Pasko for providing the fix.
  • Loading branch information...
commit 47f3440cb6d29bf2ac574f47e43c13c66759c5ed 1 parent 57042b2
@joelfillmore joelfillmore authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  PxLoaderImage.js
View
2  PxLoaderImage.js
@@ -31,7 +31,7 @@ function PxLoaderImage(url, tags, priority) {
var removeEventHandlers = function() {
self.img.removeEventListener('load', onLoad);
self.img.removeEventListener('readystatechange', onReadyStateChange);
- self.img.removeEventListener('load', onError);
+ self.img.removeEventListener('error', onError);
};
this.start = function(pxLoader) {
Please sign in to comment.
Something went wrong with that request. Please try again.