File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ Notice the `{{link}}` and `{{image}}`? The templating option provides several ta
134
134
135
135
As of __ v1.3__ , Instafeed.js has a ` .next() ` method you can call to load more images from Instagram.
136
136
Under the hood, this uses the _ pagination_ data from the API. Additionall, there is a helper
137
- ` .hasNext() ` method that you can use to check if there is pagination data.
137
+ ` .hasNext() ` method that you can use to check if pagination data is available .
138
138
139
139
Together these options can be used to create a "Load More" button:
140
140
@@ -157,7 +157,7 @@ var feed = new Instafeed({
157
157
});
158
158
159
159
// grab out load more button
160
- var loadButton = document .getElementById (' # load-more' );
160
+ var loadButton = document .getElementById (' load-more' );
161
161
162
162
// bind out click event
163
163
loadButton .addEventListener (' click' , handleLoadClick);
You can’t perform that action at this time.
0 commit comments