Skip to content

Commit a57a882

Browse files
authored
Update copycontent.ts
1 parent b9913d9 commit a57a882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/js/features/copycontent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {registerGlobalEventFunc} from '../modules/observer.ts';
77
const {i18n} = window.config;
88

99
export function initCopyContent() {
10-
registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLInputElement) => {
10+
registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLElement) => {
1111
if (btn.classList.contains('disabled') || btn.classList.contains('is-loading')) return;
1212
let content;
1313
let isRasterImage = false;

0 commit comments

Comments
 (0)