mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-30 00:46:29 +01:00
only detach each anchors if necessary
This commit is contained in:
parent
78667bc920
commit
2fd833c09e
@ -52,7 +52,7 @@ export default {
|
||||
${name}_iterations[i].teardown( detach );
|
||||
}
|
||||
|
||||
${name}_anchor.parentNode.removeChild( ${name}_anchor );
|
||||
if ( detach ) ${name}_anchor.parentNode.removeChild( ${name}_anchor );
|
||||
` );
|
||||
|
||||
const indexNames = Object.assign( {}, generator.current.indexNames );
|
||||
|
Loading…
Reference in New Issue
Block a user