pull/1647/head
Rich Harris 6 years ago
parent bd91d59bc9
commit bcf4c59cc6

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

Loading…
Cancel
Save