diff options
author | tdro <tdro@noreply.example.com> | 2022-05-25 23:48:37 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-25 23:48:37 -0400 |
commit | 70b46dfcd5dcfa3c539232401fb4168013bc1418 (patch) | |
tree | 1f08cf2ab04b1c4b27365fd9afdc4214512f1946 /static | |
parent | 96b2d6ba409f8195f1d89f7dce4986a7d9837976 (diff) | |
download | canory-70b46dfcd5dcfa3c539232401fb4168013bc1418.tar.gz canory-70b46dfcd5dcfa3c539232401fb4168013bc1418.tar.bz2 canory-70b46dfcd5dcfa3c539232401fb4168013bc1418.zip |
static/js/code-copy: Copy entire code block
Will need to filter off line numbers and test in environment
with permissions.
Diffstat (limited to 'static')
-rw-r--r-- | static/js/code-copy.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/js/code-copy.ts b/static/js/code-copy.ts index 8ef777b..4c22d07 100644 --- a/static/js/code-copy.ts +++ b/static/js/code-copy.ts @@ -1,5 +1,5 @@ (function () { - [...document.querySelectorAll("pre.chroma code :not(.ln a)")] + [...document.querySelectorAll("pre.chroma code")] .forEach( (element) => { try { |