diff --git a/public/index.html b/public/index.html
index 8fd2a9d..997ac07 100644
--- a/public/index.html
+++ b/public/index.html
@@ -384,7 +384,7 @@ body::before{content:'';position:fixed;inset:0;background-image:radial-gradient(
Danksagungen · Partner · Community
-
+
@@ -501,7 +501,7 @@ body::before{content:'';position:fixed;inset:0;background-image:radial-gradient(
-
+
Eintrag hinzufügen
Admin · Credits Editor
@@ -560,8 +560,8 @@ body::before{content:'';position:fixed;inset:0;background-image:radial-gradient(
@@ -1019,13 +1019,7 @@ function renderCredits() {
const adminBtn = document.getElementById('credits-admin-btn');
if (adminBtn) {
adminBtn.style.display = currentUser?.isAdmin ? 'block' : 'none';
- // Event listener neu setzen (sicher mit clone-replace trick)
- const oldBtn = document.getElementById('btn-add-credit');
- if (oldBtn) {
- const newBtn = oldBtn.cloneNode(true);
- newBtn.addEventListener('click', () => openCreditForm(null));
- oldBtn.parentNode.replaceChild(newBtn, oldBtn);
- }
+ // onclick is set directly in HTML
}
}