Fix: Verwaiste _pdfLabel Referenz entfernt

Dieser Commit ist enthalten in:
Claude Dev
2026-03-25 01:34:00 +01:00
Ursprung f7deafd14a
Commit 93948cbc4c

Datei anzeigen

@@ -772,7 +772,6 @@ const App = {
if (_cardTitle) { _cardTitle.textContent = _lbLabel; _cardTitle.setAttribute("onclick", "openContentModal('" + _lbLabel + "', 'summary-content')"); } if (_cardTitle) { _cardTitle.textContent = _lbLabel; _cardTitle.setAttribute("onclick", "openContentModal('" + _lbLabel + "', 'summary-content')"); }
const _toggleBtn = document.querySelector('.layout-toggle-btn[data-tile="lagebild"]'); const _toggleBtn = document.querySelector('.layout-toggle-btn[data-tile="lagebild"]');
if (_toggleBtn) _toggleBtn.textContent = _lbLabel; if (_toggleBtn) _toggleBtn.textContent = _lbLabel;
if (_pdfLabel) _pdfLabel.textContent = _lbLabel;
{ const _nt = document.querySelector("#inc-notify-summary"); if (_nt) { const _ns = _nt.closest("label")?.querySelector(".toggle-text"); if (_ns) _ns.textContent = "Neues " + _lbLabel; } } { const _nt = document.querySelector("#inc-notify-summary"); if (_nt) { const _ns = _nt.closest("label")?.querySelector(".toggle-text"); if (_ns) _ns.textContent = "Neues " + _lbLabel; } }
// Archiv-Button Text // Archiv-Button Text