mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-18 19:30:59 +00:00
application.js: remove non-existent selector (#32131)
This commit is contained in:
parent
5d14d41531
commit
483b6413e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue