add comment

pull/12215/head
Rich Harris 3 months ago
parent 7e26c2b74a
commit 8740448a74

@ -405,7 +405,8 @@ function get_first_node(effect) {
return get_first_node(child); return get_first_node(child);
} }
return null; // in the case that there's no DOM, return the first anchor
return get_last_node(effect);
} }
/** /**

Loading…
Cancel
Save