diff --git a/VERSION b/VERSION
index d5e7c40..c659825 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1162
\ No newline at end of file
+1163
\ No newline at end of file
diff --git a/backend/static/index.html b/backend/static/index.html
index 85c40c8..487ccb1 100644
--- a/backend/static/index.html
+++ b/backend/static/index.html
@@ -86,14 +86,14 @@
Ban Yaro
-
+
-
-
-
-
-
+
+
+
+
+
@@ -617,11 +617,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -631,7 +631,7 @@
-
+
diff --git a/backend/static/js/app.js b/backend/static/js/app.js
index af14237..ca5ddd8 100644
--- a/backend/static/js/app.js
+++ b/backend/static/js/app.js
@@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
-const APP_VER = '1162'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
+const APP_VER = '1163'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator)
window.APP_VERSION = APP_VERSION;
diff --git a/backend/static/js/pages/friends.js b/backend/static/js/pages/friends.js
index 87a177a..dffce5d 100644
--- a/backend/static/js/pages/friends.js
+++ b/backend/static/js/pages/friends.js
@@ -148,6 +148,21 @@ window.Page_friends = (() => {
_searchTimer = setTimeout(() => _doSearch(q), 380);
});
+ // Delegierter Click-Handler — robust auch unter strikter CSP / für
+ // dynamisch nachgerenderte Buttons (Anfragen, Freundesliste).
+ // Ersetzt Inline-onclick, das auf manchen iOS-PWA-Sessions nicht feuerte.
+ _container.addEventListener('click', e => {
+ const btn = e.target.closest('[data-fr-action]');
+ if (!btn) return;
+ const id = parseInt(btn.dataset.frId, 10);
+ switch (btn.dataset.frAction) {
+ case 'accept': _accept(id); break;
+ case 'decline': _decline(id); break;
+ case 'cancel': _cancel(id); break;
+ case 'chat': _openChat(id); break;
+ }
+ });
+
// Prefill aus URL-Parameter → sofort suchen
if (prefill && prefill.length >= 2) {
_doSearch(prefill);
@@ -359,12 +374,12 @@ window.Page_friends = (() => {