Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c922003

Browse files
committed
double clone bug
The previous statement already cloned the fragment
1 parent 5fb8b10 commit c922003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/directives/partial.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ module.exports = {
4242

4343
// just set innerHTML...
4444
el.innerHTML = ''
45-
el.appendChild(partial.cloneNode(true))
45+
el.appendChild(partial)
4646

4747
}
4848
}
4949

50-
}
50+
}

0 commit comments

Comments
 (0)