mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-21 13:29:00 +01:00
application.js: remove non-existent selector (#32131)
This commit is contained in:
parent
5d14d41531
commit
483b6413e9
@ -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)
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user