Don't copy success message
This commit is contained in:
parent
165c54fec2
commit
aa8e5dd0ca
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue