]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Fix footer js main
authorJeremy Thomas <bbxdesign@gmail.com>
Fri, 27 Jun 2025 16:28:32 +0000 (17:28 +0100)
committerJeremy Thomas <bbxdesign@gmail.com>
Fri, 27 Jun 2025 16:28:32 +0000 (17:28 +0100)
docs/assets/javascript/main.js

index 1c7654f3188d299910452f5295860bf12e8ed6e0..2cbb7f84c0aa0132281f784a96318e4b27287b2f 100644 (file)
@@ -85,8 +85,9 @@ document.addEventListener("DOMContentLoaded", () => {
           }
 
           if (item.pied && $pied) {
-            el.className = "bd-ami bd-ami-footer";
-            $pied.appendChild(el);
+            const clone = el.cloneNode(true);
+            clone.className = "bd-ami bd-ami-footer";
+            $pied.appendChild(clone);
           }
         });
       });