Commit 45b649f9 authored by XhmikosR's avatar XhmikosR
Browse files

application.js: make the clipboard button selector more restrictive.

parent a6996ef3
Showing with 1 addition and 1 deletion
+1 -1
......@@ -54,7 +54,7 @@
})
// Insert copy to clipboard button before .highlight
$('.highlight').each(function () {
$('figure.highlight, div.highlight').each(function () {
var btnHtml = '<div class="bd-clipboard"><button class="btn-clipboard" title="Copy to clipboard">Copy</button></div>'
$(this).before(btnHtml)
$('.btn-clipboard')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment