diff --git a/src/js/06-copy-to-clipboard.js b/src/js/06-copy-to-clipboard.js index 1a40ebe..0631da1 100644 --- a/src/js/06-copy-to-clipboard.js +++ b/src/js/06-copy-to-clipboard.js @@ -38,7 +38,7 @@ use.setAttribute('href', window.uiRootPath + '/img/octicons-16.svg#icon-clippy') svg.appendChild(use) copy.appendChild(svg) - } else { // config.svgAs === 'img' + } else { var img = document.createElement('img') img.src = window.uiRootPath + '/img/octicons-16.svg#view-clippy' img.alt = 'copy icon'