nzzdev/Q-chart

calls to getBoundingClientRect on init script (if no width is given) should be guarded to check for element existence first

Closed this issue · 1 comments

benib commented

Guard the calls to getBoundingClientRect here:

This should be done so we do not throw errors if Q element is not available in the DOM at the time of script execution. This happens when the graphic is not shown because Registrationwall is visible.

benib commented

fixed in 5c8953a

will be in v2.0.0