From d6770a5b8ea1af1683968f16f44220d695b455a1 Mon Sep 17 00:00:00 2001 From: Federico Date: Tue, 30 Jul 2024 02:17:13 +0700 Subject: [PATCH] Lint --- source/app.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [];