Skip to content

Commit

Permalink
drop ie9-isms
Browse files Browse the repository at this point in the history
  • Loading branch information
ef4 committed Jul 28, 2018
1 parent e2981db commit 2389633
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addon/components/liquid-container.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export default Component.extend(Growable, {
return;
}
if (on) {
this.element.className += ' liquid-animating'; // Use el.classList.add one IE9 is not supported
this.element.classList.add('liquid-animating');
} else {
this.element.className = this.element.className.replace('liquid-animating', ''); // Use el.classList.remove one IE9 is not supported
this.element.classList.remove('liquid-animating');
}
},

Expand Down

0 comments on commit 2389633

Please sign in to comment.