mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 22:02:11 +03:00
def2e8e146
No issue - Prevent download count ajax request from running forever, even after setup is complete. - Remove unneeded setup routes and controllers. - Refactor to use ES6-imported ajax. - Refactor to use injected services.
13 lines
246 B
JavaScript
13 lines
246 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
tagName: 'li',
|
|
classNameBindings: ['active'],
|
|
active: false,
|
|
linkClasses: null,
|
|
|
|
unfocusLink: function () {
|
|
this.$('a').blur();
|
|
}.on('click')
|
|
});
|