0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Merge pull request #3991 from halfdan/3989-active-class

Remove active class from buttons
This commit is contained in:
Matt Enlow 2014-09-09 16:35:49 -06:00
commit 9f6884e876

View file

@ -5,5 +5,9 @@ Ember.LinkView.reopen({
Ember.set(this, 'alternateActive', isActive);
return isActive;
}),
activeClass: Ember.computed('tagName', function () {
return this.get('tagName') === 'button' ? '' : 'active';
})
});