smart-table-scroll icon indicating copy to clipboard operation
smart-table-scroll copied to clipboard

Endless loop

Open sonny89 opened this issue 10 years ago • 0 comments

I wrote some text or any whitespace character (newline in my case) in the DOM element to render to and this results an endless loop. For example: <div id='table-target'>text</div>. The firstChild of the div will be a TextNode. This line of the code results the endless loop: while (this.el.firstChild) { this.el.remove(this.el.firstChild); }

sonny89 avatar Sep 14 '15 12:09 sonny89