mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Remove active class from buttons.
refs #3989 - Remove active class from {{#link-to tagName="button" ..}}
This commit is contained in:
parent
5e0c890b4d
commit
1f8b323285
@ -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…
Reference in New Issue
Block a user