Permalink
Browse files

Makes sure aborting an img request does actually abort it.

  • Loading branch information...
jaubourg committed Aug 12, 2011
1 parent 5c7e541 commit c0f46753cb69bc2b5cc813874f4b44be6fb101a5
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ajax/img.js
View
@@ -22,6 +22,8 @@ jQuery.ajaxTransport( "img", function( s ) {
} else {
complete( 404, "Not Found" );
}
+ } else {
+ img.src = null;
}
};
image = new Image();

0 comments on commit c0f4675

Please sign in to comment.