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 a6bf4ff commit a16485bCopy full SHA for a16485b
web_src/js/features/copycontent.js
@@ -4,9 +4,10 @@ const {i18n} = window.config;
4
5
export function initCopyContent() {
6
const btn = document.getElementById('copy-content');
7
- if (!btn || btn.classList.contains('disabled') || btn.classList.contains('is-loading')) return;
+ if (!btn || btn.classList.contains('disabled')) return;
8
9
btn.addEventListener('click', async () => {
10
+ if (btn.classList.contains('is-loading')) return;
11
let content;
12
const link = btn.getAttribute('data-link');
13
0 commit comments