Skip to content

Commit 3412dc6

Browse files
camertronkeithamus
andauthored
Update src/clipboard-copy-element.ts
Co-authored-by: Keith Cirkel <[email protected]>
1 parent 58e5d5f commit 3412dc6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/clipboard-copy-element.ts

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ async function copy(button: HTMLElement) {
99
}
1010

1111
if (button.getAttribute('aria-disabled') === 'true') {
12-
button.dispatchEvent(new CustomEvent('clipboard-copy-nothing', {bubbles: true}))
1312
return
1413
}
1514

0 commit comments

Comments
 (0)