mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
d6f1bb5890
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;
|