We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae864b commit d39e59aCopy full SHA for d39e59a
1 file changed
src/livecodes/core.ts
@@ -3155,7 +3155,7 @@ const setupAppMenu = (
3155
) => {
3156
if (!container || !button) return;
3157
3158
- const html = isMac() ? menuHTML.replace(/<kbd>Ctrl<\/kbd>/g, '<kbd>⌘</kbd>') : menuHTML;
+ const html = isMac() ? menuHTML.replaceAll('<kbd>Ctrl</kbd>', '<kbd>⌘</kbd>') : menuHTML;
3159
3160
container.innerHTML = html;
3161
translateElement(container);
0 commit comments