fix #1451 replace error() with on()
This commit is contained in:
parent
fb979cc2a4
commit
cee03ceba2
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ $(function() {
|
|||
$(img).css('background-image', '');
|
||||
$(img).attr('src', url);
|
||||
});
|
||||
$(imgData).error(function() {
|
||||
$(imgData).on('error', function() {
|
||||
if (limit > 0) {
|
||||
setTimeout(function() {
|
||||
loadImage(img, url, --limit);
|
||||
|
|
Loading…
Add table
Reference in a new issue