Skip to content

Commit 292325e

Browse files
authored
fix: tell clipboard-copy-element to be referenced as a module. @see https://github.com/github/clipboard-copy-element#script (#835)
1 parent 1824003 commit 292325e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/testing-dom__clipboard/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<head>
2-
<script src="https://unpkg.com/@github/clipboard-copy-element@latest" defer></script>
2+
<script type="module" src="https://unpkg.com/@github/clipboard-copy-element@latest" defer></script>
33
<script src="https://unpkg.com/[email protected]/dist/tiny-toast.js" defer></script>
44
<style>
55
pre {

0 commit comments

Comments
 (0)