diff --git a/static/copy.js b/static/copy.js index 50b7656..dc76f7e 100644 --- a/static/copy.js +++ b/static/copy.js @@ -4,6 +4,10 @@ const range = document.createRange(); const dd = this.querySelector('dd'); + if (dd.classList.contains('success')) { + return; + } + range.selectNodeContents(dd.childNodes[0]); selection.removeAllRanges(); selection.addRange(range);