mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
297c33b3f7
closes #4622 - unfocus ActivatingListItem link when clicked
12 lines
241 B
JavaScript
12 lines
241 B
JavaScript
var ActivatingListItem = Ember.Component.extend({
|
|
tagName: 'li',
|
|
classNameBindings: ['active'],
|
|
active: false,
|
|
|
|
unfocusLink: function () {
|
|
this.$('a').blur();
|
|
}.on('click')
|
|
});
|
|
|
|
export default ActivatingListItem;
|