We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80e9708 commit 9696a3fCopy full SHA for 9696a3f
1 file changed
templates/html/styles/main.js
@@ -55,7 +55,7 @@ $(function() {
55
}
56
var $codeHeader = createCodeHeader(language);
57
var $codeElement = $this.closest("pre");
58
- $codeElement.before($codeHeader).wrap("<p></p>");
+ $codeElement.before($codeHeader);
59
$codeHeader.find("button").click(function() {
60
navigator.clipboard.writeText($codeElement.text());
61
setCopyAlert($(this));
0 commit comments