From 70b46dfcd5dcfa3c539232401fb4168013bc1418 Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 25 May 2022 23:48:37 -0400 Subject: static/js/code-copy: Copy entire code block Will need to filter off line numbers and test in environment with permissions. --- static/js/code-copy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static') 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 { -- cgit v1.2.3