Skip to content

Commit

Permalink
move things to the right place instead of the wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
bennycwong committed Aug 4, 2016
1 parent d32dc6d commit 0c5bfb5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ or
Add this in the dependencies block of your `package.json` file:

```json
"ember-router-scroll": "dollarshaveclub/ember-router-scroll#v0.1.0",
"ember-router-scroll": "dollarshaveclub/ember-router-scroll#v0.0.3",
```

### Step 2: Import ember-router-scroll
Expand All @@ -85,7 +85,7 @@ const Router = Ember.Router.extend(RouterScrollMixin,{}
![before-preserve](https://cloud.githubusercontent.com/assets/4430436/17122971/0a1e34ce-5295-11e6-8d30-9f687dd69dbb.gif)
Notice the unwanted scroll to top in this case.
### After:
### After:
![after-preserve](https://cloud.githubusercontent.com/assets/4430436/17122969/07acbb48-5295-11e6-9900-f9ba519affa4.gif)
Adding a query parameter fixes this issue.
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-router-scroll",
"version": "0.1.0",
"version": "0.0.3",
"description": "Scroll to top with preserved browser history scroll position",
"directories": {
"doc": "doc",
Expand Down

0 comments on commit 0c5bfb5

Please sign in to comment.