|
|
@@ -192,13 +192,14 @@ export default {
|
|
192
|
192
|
.pop()
|
|
193
|
193
|
|
|
194
|
194
|
if (!Object.values(sortTypes).includes(sort)) {
|
|
195
|
|
- console.log('sort not found:', sort)
|
|
|
195
|
+ // console.warn('sort not found:', sort)
|
|
196
|
196
|
sort = null
|
|
197
|
197
|
}
|
|
198
|
198
|
|
|
199
|
199
|
if (!this[`all${type}Loaded`] || sort) this.getPosts(true)
|
|
200
|
200
|
|
|
201
|
201
|
// Add the infinite scroll load
|
|
|
202
|
+ console.log('setting intersection loader...')
|
|
202
|
203
|
this.setIntersectionLoader()
|
|
203
|
204
|
},
|
|
204
|
205
|
},
|
|
|
@@ -206,6 +207,7 @@ export default {
|
|
206
|
207
|
if (this.$route.hash) {
|
|
207
|
208
|
setTimeout(() => this.scrollTo(this.$route.hash), TIMEOUT)
|
|
208
|
209
|
}
|
|
|
210
|
+ console.log('setting intersection loader...')
|
|
209
|
211
|
this.setIntersectionLoader()
|
|
210
|
212
|
},
|
|
211
|
213
|
created() {
|