Skip to content

Commit

Permalink
prepend source for accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed May 3, 2024
1 parent 9dd9492 commit 9055b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion static/js/addSrcToCodeblock.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ document.addEventListener("DOMContentLoaded", function() {
if (sourceUrl.startsWith('http')) {
sourceElement.href = sourceUrl;
}
codeElement.appendChild(sourceElement);
codeElement.prepend(sourceElement);
}
}
});
Expand Down
2 changes: 1 addition & 1 deletion static/js/addSrcToCodeblock.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9055b1a

Please sign in to comment.