mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fix active menu state on settings navigation
closes #4622 - unfocus ActivatingListItem link when clicked
This commit is contained in:
parent
00c9a1c0fd
commit
d6f1bb5890
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
|||
var ActivatingListItem = Ember.Component.extend({
|
||||
tagName: 'li',
|
||||
classNameBindings: ['active'],
|
||||
active: false
|
||||
active: false,
|
||||
|
||||
unfocusLink: function () {
|
||||
this.$('a').blur();
|
||||
}.on('click')
|
||||
});
|
||||
|
||||
export default ActivatingListItem;
|
||||
|
|
Loading…
Add table
Reference in a new issue