up.ajax()now only caches responses with a status code of
[up-close]attribute is clicked, the link's default action will only be prevented if the link was actually within a modal or popup.
up.reveal(): Whether to scroll the viewport so that the first element row aligns with the top edge of the viewport. Without this option,
up.reveal()scrolls as little as possible.
documentis the viewport.
fixedRightthat contains selectors for elements that are anchored to the right edge of the screen. When opening a modal, these elements will be prevented from jumping around. If you're using
unpoly-bootstrap3.js, this will default to
['.navbar-fixed-top', '.navbar-fixed-bottom', '.footer'].
unpoly-railswhere the gem would fail to
includeitself in some versions of Ruby and Rails.
Interactions that would result in an URL change ("pushState") now fall back to a full page load if Unpoly was booted from a non-GET request. More information about the reasons for this.
This currently works out of the box if you're using Unpoly via the
If you're integrating Unpoly with Bower or manually, you need to have your server app
_up_request_method cookie with the current request method on every request.