Merged
Conversation
Use pageYOffset over scrollY for IE9+ support
Fixes defunkt#329 [ci skip]
documented `false` as a allowed `scrollTo` value
When different pjax containers were used for pjax navigations, the popstate restoring mechanism would get confused as to in which container to restore some particular HTML. I tried to remedy this by reading the target container from `previousState` on "back" navigations, however this was subject to at least a couple of flaws: 1. It would break if `previousState` was done via replaceState, which replaces content in a container but doesn't add a history entry. 2. It doesn't handle the case where user jumps several steps of history stack (e.g. by holding the "Back" button pressed and choosing from the drop down menu). A more solid solution to knowing where to restore particular cached HTML is to save the information about the container that the HTML was saved from in the first place. This adds the container selector information to the cache, forming a pair with cached contents for each history entry.
Change internal cache struct to fix restoring mixed containers
on options.beforeSend check if there is a hash to prevent the extra # on URLs without hash
Instead of checking `location.hash == ""`, instead check that `#` isn't ocurring in `.href` property at all.
By parsing the URL beforehand, ensure that we never do a replacement in a component other than `url.search`.
[ci skip]
Remove moot `version` property from bower.json
This can be useful if using PJAX to reload the contents of a search page, for instance. See defunkt#377
Add blurFocus option to disable bluring the focus of existing elements.
Fix submit of form with input[name=action]
.travis.yml
Outdated
Member
Author
There was a problem hiding this comment.
Member
There was a problem hiding this comment.
I guess that should not be in our fork...
Member
Author
|
Merged. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.