We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d8cc6 commit fd13d91Copy full SHA for fd13d91
src/js/06-copy-to-clipboard.js
@@ -39,7 +39,7 @@
39
svg.appendChild(use)
40
copy.appendChild(svg)
41
} else { // img
42
- var img = new Image()
+ var img = document.createElement('img')
43
img.alt = 'copy icon'
44
img.className = 'copy-icon'
45
img.src = window.uiRootPath + '/img/octicons-16.svg#view-clippy'
0 commit comments