j-andrews7/Genotify

Expression widget throws 'undefined clientWidth' error

Closed this issue · 1 comments

Normally, calling the render creates several divs and renders the expression widget. However, after moving the render call inside the displayData function, this error happens every time and doesn't render, instead just displaying the parameters fed into the function.

This was due to erroneously changing the textContent of the element and not properly moving onto the next element of the loop.