diff options
-rw-r--r-- | site/assets/js/application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/assets/js/application.js b/site/assets/js/application.js index 52822dc0ce..998fac0149 100644 --- a/site/assets/js/application.js +++ b/site/assets/js/application.js @@ -93,7 +93,7 @@ // Insert copy to clipboard button before .highlight var btnHtml = '<div class="bd-clipboard"><button type="button" class="btn-clipboard" title="Copy to clipboard">Copy</button></div>' - document.querySelectorAll('figure.highlight, div.highlight') + document.querySelectorAll('div.highlight') .forEach(function (element) { element.insertAdjacentHTML('beforebegin', btnHtml) }) |