javascripts/pagy-module.js in pagy-8.1.2 vs javascripts/pagy-module.js in pagy-8.2.0

- old
+ new

@@ -79,10 +79,10 @@ }; // Trim the ${page-param}=1 params in links const trim = (a, param) => a.replace(new RegExp(`[?&]${param}=1\\b(?!&)|\\b${param}=1&`), ""); // Public interface return { - version: "8.1.2", + version: "8.2.0", // Scan for elements with a "data-pagy" attribute and call their init functions with the decoded args init(arg) { const target = arg instanceof Element ? arg : document; const elements = target.querySelectorAll("[data-pagy]"); for (const el of elements) {