\r
).up-target
now prefer to update elements within their own layer (page, modal, or popup).
Only when the target element doesn't exist within the link's layer, Unpoly will look through all layers
from top to bottom.
If you're upgrading from an older Unpoly version you should load unpoly-migrate.js
to polyfill deprecated APIs.
Changes handled by unpoly-migrate.js
are not considered breaking changes.
See our upgrading guide for details.