diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-11-13 19:56:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-13 19:56:04 +0300 |
commit | 483b6413e90e5ae01cc7719cb6388bc175d3b275 (patch) | |
tree | ae548aae8a175699c52c1683465b14ff53ec375d | |
parent | 5d14d415315d2c4216df53eff8bc3567fe2ba624 (diff) |
application.js: remove non-existent selector (#32131)
-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) }) |