fix: Popup-Action-Icons riesig, "copy" als Text — Cache-Robustheit
Wenn der Browser noch die alte CSS bzw. i18n.js aus dem Cache hatte, lief das neu strukturierte Popup ins Leere: - SVGs ohne CSS-Width-Constraint nahmen die Browser-Standardgröße (300×150) an → riesige Icons, Layout brach in Vertikalstapel - Der Key "copy" fehlte in der alten i18n.js → "Kopieren" wurde durch den Roh-Key "copy" ersetzt Robust gemacht: - SVGs der Action-Buttons bekommen jetzt direkt im HTML width="16" height="16" — funktioniert auch ohne dass die zugehörige CSS-Regel geladen wurde - applyLang() in i18n.js fällt bei fehlendem Schlüssel auf den HTML-Default-Text zurück, anstatt den Key als Text einzuschreiben (gleiches Prinzip für data-i18n, -i18n-ph, -i18n-title) Version v15 → v16.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// the entry HTML / version files). New releases take effect on the next
|
||||
// reload, no manual SW unregister required.
|
||||
|
||||
const CACHE_VERSION = 'calendarr-v15';
|
||||
const CACHE_VERSION = 'calendarr-v16';
|
||||
const OFFLINE_SHELL = ['/', '/index.html'];
|
||||
|
||||
self.addEventListener('install', event => {
|
||||
|
||||
Reference in New Issue
Block a user