pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 865dd176d9a71ef16b02e8371915ae060493b96c
parent 36d6b9a7dcf4107cf118b5185f9d864dd6763da9
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Mon,  5 Aug 2024 17:32:09 +0200

feat: make clearer what is copied to clipboard exactly

Diffstat:
Massets/js/code_to_clipboard.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assets/js/code_to_clipboard.js b/assets/js/code_to_clipboard.js @@ -23,5 +23,5 @@ function codeblock(selector = 'pre#blob') { /* Copy to clipboard and alert user */ function copy_to_clipboard(text) { navigator.clipboard.writeText(text); - alert("Copied to your clipboard:\n" + text); + alert("Copied to your clipboard:\n====================\n\n" + text); }