diff --git a/source/app.svelte b/source/app.svelte index bc828ee..4a8abd3 100644 --- a/source/app.svelte +++ b/source/app.svelte @@ -9,7 +9,7 @@ const getI18N = chrome.i18n.getMessage; const undoStack = new UndoStack(window); // Replace the whole kbd because some locales don't call it "ctrl" - const replaceKbdOnMac = (string) => navigator.platform.includes('Mac') ? string.replace(/(.*?)<\/kbd>/g, '⌘Z') : string; + const replaceKbdOnMac = (string) => navigator.platform.includes('Mac') ? string.replaceAll(/(.*?)<\/kbd>/g, '⌘Z') : string; const myid = getI18N('@@extension_id'); let extensions = [];