Skip to content

Commit

Permalink
Revised status handling... need to concentrate
Browse files Browse the repository at this point in the history
Signed-off-by: jaubourg <aubourg.julian@gmail.com>
  • Loading branch information
jaubourg committed Dec 7, 2009
1 parent 4d9097e commit 7ba8769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transports/image.js
Expand Up @@ -39,7 +39,7 @@ jQuery.transport.install("image", {
};

image.onerror = function(statusText) {
done(statusText ? 404 : 0, statusText);
done(statusText ? 0 : 404, statusText);
};

image.src = s.url;
Expand Down

0 comments on commit 7ba8769

Please sign in to comment.