Add html comments crash js code
benjhoo opened this issue · comments
If you add html comments in your html template, layoutMessages function will crash at line 95 :
element.css('top',top + 'px').css('margin-top','-' + (height+shadowHeight) + 'px').css('visibility','visible');
Error returned :
Cannot set property 'top' of undefined