Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.0版本 imglazyload.js 图片加载错误时候 报Uncaught RangeError: Maximum call stack size exceeded 错误 #189

Open
molezzz opened this issue Jan 9, 2014 · 1 comment

Comments

@molezzz
Copy link

molezzz commented Jan 9, 2014

2.1.0版本 imglazyload.js 第88行,在图片加载失败时候控制台中会报
Uncaught RangeError: Maximum call stack size exceeded 错误

      on('error',function () {     //图片加载失败处理
            var errorEvent = $.Event('error');       //派生错误处理的事件
            $div.trigger(errorEvent);
            errorEvent.defaultPrevented || pedding.push(div);
            $img.off('error').remove();
        }).attr('src', $div.attr(opts.urlName));
@xierenyuan
Copy link

这个错误 我以遇到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants