mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
Merge pull request #4623 from vikhyat/unfocus-nav
Fix active menu state on settings navigation
This commit is contained in:
commit
d81cc1f071
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,11 @@
|
||||||
var ActivatingListItem = Ember.Component.extend({
|
var ActivatingListItem = Ember.Component.extend({
|
||||||
tagName: 'li',
|
tagName: 'li',
|
||||||
classNameBindings: ['active'],
|
classNameBindings: ['active'],
|
||||||
active: false
|
active: false,
|
||||||
|
|
||||||
|
unfocusLink: function () {
|
||||||
|
this.$('a').blur();
|
||||||
|
}.on('click')
|
||||||
});
|
});
|
||||||
|
|
||||||
export default ActivatingListItem;
|
export default ActivatingListItem;
|
||||||
|
|
Loading…
Reference in a new issue