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:
commit
9f6884e876
1 changed files with 4 additions and 0 deletions
|
@ -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';
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue