diff --git a/assets/js/src/application.js b/assets/js/src/application.js index 9c236b7c4b..eb52848756 100644 --- a/assets/js/src/application.js +++ b/assets/js/src/application.js @@ -54,7 +54,7 @@ }) // Insert copy to clipboard button before .highlight - $('.highlight').each(function () { + $('figure.highlight, div.highlight').each(function () { var btnHtml = '
' $(this).before(btnHtml) $('.btn-clipboard')