Skip to content

Add html comments crash js code #71

@benjhoo

Description

@benjhoo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions