We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58e5d5f commit 3412dc6Copy full SHA for 3412dc6
src/clipboard-copy-element.ts
@@ -9,7 +9,6 @@ async function copy(button: HTMLElement) {
9
}
10
11
if (button.getAttribute('aria-disabled') === 'true') {
12
- button.dispatchEvent(new CustomEvent('clipboard-copy-nothing', {bubbles: true}))
13
return
14
15
0 commit comments