diff --git a/src/components/ResultsSection.vue b/src/components/ResultsSection.vue
index 5cb0cd0..5b07b3a 100644
--- a/src/components/ResultsSection.vue
+++ b/src/components/ResultsSection.vue
@@ -14,8 +14,11 @@
-
-
+ load more
@@ -121,7 +124,6 @@ export default {
if (!front) this.results = this.results.concat(...results.results);
else this.results = results.results.concat(...this.results);
this.page = results.page;
- console.log("pushing page:", this.page);
this.loadedPages.push(this.page);
this.loadedPages = this.loadedPages.sort((a, b) => a - b);
this.totalPages = results.total_pages;
@@ -137,7 +139,7 @@ export default {
threshold: 1.0
});
- this.observer.observe(this.$refs.loadMoreButton.$el);
+ this.observer.observe(this.$refs.loadMoreButton);
},
handleButtonIntersection(entries) {
entries.map(entry =>