Skip to content

Fix error when setting classes on SVG elements#105

Merged
agubler merged 3 commits into
dojo:masterfrom
agubler:svg-class-name-bug
Sep 17, 2018
Merged

Fix error when setting classes on SVG elements#105
agubler merged 3 commits into
dojo:masterfrom
agubler:svg-class-name-bug

Conversation

@agubler
Copy link
Copy Markdown
Member

@agubler agubler commented Sep 15, 2018

Type: bug

The following has been addressed in the PR:

Description:

Removes the shortcut of setting className directly for any DOM elements with all operations going through classList.add.

Could have kept a shortcut using domNode.setAttribute('class', 'myclasses'); but honestly would need to workout if that is actually worth it.

Resolves #104

@agubler agubler added bug Something isn't working next Issue/Pull Request for the next major version labels Sep 15, 2018
@agubler agubler merged commit 12e11ca into dojo:master Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working next Issue/Pull Request for the next major version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants