Revision code

Changes Version 2.6.1
Released on June 10, 2022 with 10 commits

Changes

This is a maintenance release including two changes:

  • [up-switch] and up.element.hide() now hides elements using an [hidden] attribute instead of setting an inline style. Users can override the CSS for [hidden] to hide an element in a different way, e.g. by giving it a zero height.
  • Fix a bug where, with a popup overlay already open, the user clicked on a preloaded, popup-opening link in the background layer, the second popup would not open.

Upgrading

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.