Skip to content

Commit

Permalink
Merge pull request defunkt#503 from staabm/patch-2
Browse files Browse the repository at this point in the history
documented `false` as a allowed `scrollTo` value
  • Loading branch information
mislav committed Mar 18, 2015
2 parents dd672d5 + cfcbfe6 commit 3cf3de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ key | default | description
`replace` | false | replace URL without adding browser history entry
`maxCacheLength` | 20 | maximum cache size for previous container contents
`version` | | a string or function returning the current pjax version
`scrollTo` | 0 | vertical position to scroll to after navigation
`scrollTo` | 0 | vertical position to scroll to after navigation. To avoid changing scroll position, pass `false`.
`type` | `"GET"` | see [$.ajax][]
`dataType` | `"html"` | see [$.ajax][]
`container` | | CSS selector for the element where content should be replaced
Expand Down

0 comments on commit 3cf3de1

Please sign in to comment.