fix #1451 replace error() with on()

This commit is contained in:
Shinsuke Sugaya 2018-01-19 22:49:03 +09:00
parent fb979cc2a4
commit cee03ceba2

View file

@ -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);