Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fregante committed Jul 29, 2024
1 parent 80ba289 commit d6770a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/app.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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>(.*?)<\/kbd>/g, '<kbd>⌘Z</kbd>') : string;
const replaceKbdOnMac = (string) => navigator.platform.includes('Mac') ? string.replaceAll(/<kbd>(.*?)<\/kbd>/g, '<kbd>⌘Z</kbd>') : string;
const myid = getI18N('@@extension_id');
let extensions = [];
Expand Down

0 comments on commit d6770a5

Please sign in to comment.