mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-22 21:22:52 +02:00
application.js: remove non-existent selector (#32131)
This commit is contained in:
@@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
// Insert copy to clipboard button before .highlight
|
// 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>'
|
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) {
|
.forEach(function (element) {
|
||||||
element.insertAdjacentHTML('beforebegin', btnHtml)
|
element.insertAdjacentHTML('beforebegin', btnHtml)
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user