1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +02:00

application.js: remove non-existent selector (#32131)

This commit is contained in:
XhmikosR
2020-11-13 18:56:04 +02:00
committed by GitHub
parent 5d14d41531
commit 483b6413e9

View File

@@ -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)
})