Skip to content

Existing textarea class name is duplicated when adding widearea class #21

@lupo49

Description

@lupo49

Hello,

inside widearea.js:

//add widearea class to textarea
currentTextArea.className += (currentTextArea.className + " widearea").replace(/^\s+|\s+$/g, "");

The '+' should be eliminated to prevent duplicating the existing class name and to prevent destroying the css layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions