diff --git a/src/client/app/composables/copyCode.ts b/src/client/app/composables/copyCode.ts index 9d768a23..b861823b 100644 --- a/src/client/app/composables/copyCode.ts +++ b/src/client/app/composables/copyCode.ts @@ -2,7 +2,7 @@ import { inBrowser } from '../utils.js' export function useCopyCode() { if (inBrowser) { - const timeoutIdMap: Map = new Map() + const timeoutIdMap: Map = new Map() window.addEventListener('click', (e) => { const el = e.target as HTMLElement if (el.matches('div[class*="language-"] > button.copy')) {