Tangram-base icon indicating copy to clipboard operation
Tangram-base copied to clipboard

baidu.event._unload bug

Open cnberg opened this issue 15 years ago • 2 comments

我用baidu.on给一个iframe的contentWindow对象添加onload监听,如果在运行期,iframe页面跳转了,会导致原来绑定的contentWindow对象引用被移除,这导致在baidu.event._unload运行的时候,取出来的之前绑定过的元素为null,在页面卸载时要移除所有事件监听会报错。

cnberg avatar Dec 27 '10 03:12 cnberg

本issue来自云龙同学。

cnberg avatar Dec 27 '10 03:12 cnberg

fix in 1.3.4. by cnberg

rocy avatar Jan 19 '11 09:01 rocy