Skip to content

Commit 39ddcf9

Browse files
committed
[refactor] remove unnecessary comments
1 parent 13624cc commit 39ddcf9

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Dist/WebflowOnly/RenderStatic.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class RenderStatic {
3434

3535
this.gap = this.gap !== 0 ? this.gap : +this.container.getAttribute("wt-renderstatic-gap") || 0;
3636

37-
// Stop observing to prevent the observer from reacting to clone removals
3837
if (this.observer) this.observer.disconnect();
3938

4039
let childrenArray = Array.from(this.container.children);
@@ -55,8 +54,7 @@ class RenderStatic {
5554
insertIndex = i + this.gap + 1;
5655
}
5756
}
58-
59-
// Re-observe the container
57+
6058
this.observeContainer();
6159
}
6260

0 commit comments

Comments
 (0)