Skip to content

Commit 3cf3de1

Browse files
committed
Merge pull request #503 from staabm/patch-2
documented `false` as a allowed `scrollTo` value
2 parents dd672d5 + cfcbfe6 commit 3cf3de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ key | default | description
165165
`replace` | false | replace URL without adding browser history entry
166166
`maxCacheLength` | 20 | maximum cache size for previous container contents
167167
`version` | | a string or function returning the current pjax version
168-
`scrollTo` | 0 | vertical position to scroll to after navigation
168+
`scrollTo` | 0 | vertical position to scroll to after navigation. To avoid changing scroll position, pass `false`.
169169
`type` | `"GET"` | see [$.ajax][]
170170
`dataType` | `"html"` | see [$.ajax][]
171171
`container` | | CSS selector for the element where content should be replaced

0 commit comments

Comments
 (0)