Skip to content

Commit

Permalink
Delete removeAttribute
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarkelov committed May 22, 2019
1 parent 5e2c1c4 commit dad4a88
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 dad4a88

Please sign in to comment.