|
|
@@ -181,7 +181,7 @@ export default {
|
|
181
|
181
|
const footerEl = document.querySelector(INTERSECT_SELECTOR)
|
|
182
|
182
|
if(!footerEl) return
|
|
183
|
183
|
|
|
184
|
|
- console.warn('unsetting intersection handler on:', footerEl)
|
|
|
184
|
+ console.warn('unsetting intersection handler on:', footerEl, this.sortBy)
|
|
185
|
185
|
this.observer.unobserve(footerEl)
|
|
186
|
186
|
this.observer.disconnect()
|
|
187
|
187
|
},
|
|
|
@@ -203,7 +203,7 @@ export default {
|
|
203
|
203
|
type(newType, oldType) {
|
|
204
|
204
|
if(!postTypes.includes(newType)) return console.warn('type not found...')
|
|
205
|
205
|
|
|
206
|
|
- this.setIntersectionLoader()
|
|
|
206
|
+ // this.setIntersectionLoader()
|
|
207
|
207
|
this.clearAndInitPostList()
|
|
208
|
208
|
},
|
|
209
|
209
|
$route(to, from) {
|