We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6229cb7 commit 0e77548Copy full SHA for 0e77548
js/list.js
@@ -42,12 +42,12 @@ export default class List extends View {
42
throw new Error(`Invalid List template with name ${classTemplate}`);
43
}
44
45
- // Hide the template
46
- template.classList.add('d-none');
47
-
48
// Create a prototype row
49
this.$prototype = template.cloneNode(true);
50
this.$prototype.classList.remove(this.$className);
+
+ // Remove node from parent
+ node.removeChild(template);
51
52
53
/**
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@djthorpe/js-framework",
3
- "version": "0.0.38",
+ "version": "0.0.39",
4
"description": "Javascript Framework",
5
"main": "dist/index.js",
6
"scripts": {
0 commit comments