You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for the great work on envjs!
While upgrading our integration tests from envjs 0.3.7 to 1.3.pre1 I noticed that when insertCell (html.js) is called with idx === numCells an error is thrown, because node is null when passed to insertBefore.
To fix this, the line this.insertBefore(cell, node); needs to be placed 2 lines higher within the else block. So the new cell is either appended at the end of the row, or inserted before an existing cell.
Kind regards,
Orslumen
PS. If you prefer a pull request, pls let me know.
The text was updated successfully, but these errors were encountered:
First of all, thank you for the great work on envjs!
While upgrading our integration tests from envjs 0.3.7 to 1.3.pre1 I noticed that when
insertCell
(html.js) is called withidx === numCells
an error is thrown, because node is null when passed toinsertBefore
.To fix this, the line
this.insertBefore(cell, node);
needs to be placed 2 lines higher within the else block. So the new cell is either appended at the end of the row, or inserted before an existing cell.Kind regards,
Orslumen
PS. If you prefer a pull request, pls let me know.
The text was updated successfully, but these errors were encountered: