Skip to content

Commit

Permalink
Delete removeAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickm68 committed May 22, 2019
1 parent a4a612f commit 8b5326b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/CSSTransition.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ class CSSTransition extends React.Component {
if (doneClassName) {
removeClass(node, doneClassName);
}
// Remove class atribute if it is empty
if(node && !node.className.trim()) {
node.removeAttribute('class');
}
}

render() {
Expand Down

0 comments on commit 8b5326b

Please sign in to comment.