0
Fork 0
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:
John O'Nolan 2014-12-11 17:09:40 +02:00
commit d81cc1f071

View file

@ -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;