@ -43,7 +43,7 @@ function addResizeListener(element, fn) {
return {
cancel: () => {
win && win.removeEventListener('resize', fn);
win && win.removeEventListener && win.removeEventListener('resize', fn);
element.removeChild(object);
}
};