We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我用baidu.on给一个iframe的contentWindow对象添加onload监听,如果在运行期,iframe页面跳转了,会导致原来绑定的contentWindow对象引用被移除,这导致在baidu.event._unload运行的时候,取出来的之前绑定过的元素为null,在页面卸载时要移除所有事件监听会报错。
The text was updated successfully, but these errors were encountered:
本issue来自云龙同学。
Sorry, something went wrong.
fix in 1.3.4. by cnberg
修复event/_unload在元素移除后执行可能导致的bug see BaiduFE#25
a43208a
No branches or pull requests
我用baidu.on给一个iframe的contentWindow对象添加onload监听,如果在运行期,iframe页面跳转了,会导致原来绑定的contentWindow对象引用被移除,这导致在baidu.event._unload运行的时候,取出来的之前绑定过的元素为null,在页面卸载时要移除所有事件监听会报错。
The text was updated successfully, but these errors were encountered: