Skip to content

Commit

Permalink
Fix FlowComponentRenderer._clear() for some browsers
Browse files Browse the repository at this point in the history
Fix #274

The previous implementation works with Chrome, but causes client-side
exceptions for Firefox and Edge at least when filtering a Grid that
uses ComponentRenderer.

Tested manually that it fixes the issue, since we are not running
Firefox or Edge tests.
  • Loading branch information
pekam committed Aug 1, 2018
1 parent 491992e commit 069eae7
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -74,8 +74,8 @@
}

_clear() {
while (this.hasChildNodes()) {
this.removeChild(this.lastChild);
while (this.firstChild) {
this.removeChild(this.firstChild);
}
}

Expand Down

0 comments on commit 069eae7

Please sign in to comment.