mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
Merge pull request #4623 from vikhyat/unfocus-nav
Fix active menu state on settings navigation
This commit is contained in:
commit
563add3bd7
@ -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 New Issue
Block a user