mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 19:02:29 +03:00
20cbc6c606
Closes #6390 - check if more posts should be loaded whenever one is deleted - delete dead code from posts controller - delete duplicate component gh-infinite-scroll-box - simplify posts-list-item `posts.post` or `editor.edit` link logic by modifying `gh-content-view-container` to yield necessary vars directly and use inline ifs in template - add `gh-tag` component for rendering tags and updating infinite scroll box on `settings/tags` page
13 lines
267 B
JavaScript
13 lines
267 B
JavaScript
import Ember from 'ember';
|
|
import InfiniteScrollMixin from 'ghost/mixins/infinite-scroll';
|
|
|
|
const {Component} = Ember;
|
|
|
|
export default Component.extend(InfiniteScrollMixin, {
|
|
actions: {
|
|
checkScroll() {
|
|
this._checkScroll();
|
|
}
|
|
}
|
|
});
|