mirror of
https://github.com/meineerde/redmine.git
synced 2025-10-17 17:01:01 +00:00
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23775 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fd4244ee25
commit
319724fed4
@ -679,7 +679,7 @@ function copyDataClipboardTextToClipboard(target) {
|
||||
}
|
||||
|
||||
function setupCopyButtonsToPreElements() {
|
||||
document.querySelectorAll('pre:not(.pre-wrapper pre)').forEach((pre) => {
|
||||
document.querySelectorAll('.wiki pre:not(.pre-wrapper pre)').forEach((pre) => {
|
||||
// Wrap the <pre> element with a container and add a copy button
|
||||
const wrapper = document.createElement("div");
|
||||
wrapper.classList.add("pre-wrapper");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user