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 b9913d9 commit a57a882Copy full SHA for a57a882
web_src/js/features/copycontent.ts
@@ -7,7 +7,7 @@ import {registerGlobalEventFunc} from '../modules/observer.ts';
7
const {i18n} = window.config;
8
9
export function initCopyContent() {
10
- registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLInputElement) => {
+ registerGlobalEventFunc('click', 'onCopyContentButtonClick', async (btn: HTMLElement) => {
11
if (btn.classList.contains('disabled') || btn.classList.contains('is-loading')) return;
12
let content;
13
let isRasterImage = false;
0 commit comments