mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Fix active menu state on settings navigation
closes #4622 - unfocus ActivatingListItem link when clicked
This commit is contained in:
parent
823b5b4ea9
commit
297c33b3f7
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