Skip to content

Commit

Permalink
removed v3 subdomain from urls
Browse files Browse the repository at this point in the history
  • Loading branch information
fieg committed Dec 13, 2019
1 parent dc49b95 commit c2fe8f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/advanced/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

## Updating url and title

When users are scrolling through pages we can update the browser url and page title. This allows the current page to be shared or bookmarked.
When users are scrolling through pages we can update the browser url and page title. This allows the current page to be shared or bookmarked.

We can achieve this by listening for the [`page`](events.md#page) event. The page event contains the `url` and `title` of the current page in view.

The [History API](https://developer.mozilla.org/en-US/docs/Web/API/History_API) can be used to update the url.
Expand All @@ -19,7 +19,7 @@ ias.on('page', (event) => {
});
```

[View this behaviour in a live demo](https://v3.infiniteajaxscroll.com/examples/articles/)
[View this behaviour in a live demo](https://infiniteajaxscroll.com/examples/articles/)

## Loading previous pages

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/last-page-message.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ ias.on('last', function() {
})
```

[View this behaviour in a live demo](https://v3.infiniteajaxscroll.com/examples/articles/)
[View this behaviour in a live demo](https://infiniteajaxscroll.com/examples/articles/)
2 changes: 1 addition & 1 deletion docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ ias.on('page', (event) => {
})
```

[View this behaviour in a live demo](https://v3.infiniteajaxscroll.com/examples/articles/)
[View this behaviour in a live demo](https://infiniteajaxscroll.com/examples/articles/)

0 comments on commit c2fe8f1

Please sign in to comment.