Skip to content

Commit be1875e

Browse files
authored
Update web_src/js/features/citation.ts
1 parent db453b5 commit be1875e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/citation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function initCitationFileCopyContent() {
3030
const citationCopyApa = document.querySelector<HTMLButtonElement>('#citation-copy-apa');
3131
const citationCopyBibtex = document.querySelector<HTMLButtonElement>('#citation-copy-bibtex');
3232
const inputContent = document.querySelector<HTMLInputElement>('#citation-copy-content');
33-
const $modal = fomanticQuery('#cite-repo-modal');
33+
const elModal = document.querySelector<HTMLElement>('#cite-repo-modal');
3434

3535
if ((!citationCopyApa && !citationCopyBibtex) || !inputContent) return;
3636

0 commit comments

Comments
 (0)