mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
update snapshot
This commit is contained in:
parent
87445230b1
commit
b8e03dcfb8
@ -43,7 +43,7 @@ function addResizeListener(element, fn) {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
cancel: () => {
|
cancel: () => {
|
||||||
win && win.removeEventListener('resize', fn);
|
win && win.removeEventListener && win.removeEventListener('resize', fn);
|
||||||
element.removeChild(object);
|
element.removeChild(object);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user