Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 31, 2022
1 parent bb11d0f commit 43c89d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/app/composables/copyCode.ts
Expand Up @@ -2,7 +2,7 @@ import { inBrowser } from '../utils.js'

export function useCopyCode() {
if (inBrowser) {
const timeoutIdMap: Map<HTMLElement, number> = new Map()
const timeoutIdMap: Map<HTMLElement, NodeJS.Timeout> = new Map()
window.addEventListener('click', (e) => {
const el = e.target as HTMLElement
if (el.matches('div[class*="language-"] > button.copy')) {
Expand Down

0 comments on commit 43c89d6

Please sign in to comment.