diff options
author | tdro <tdro@noreply.example.com> | 2023-12-06 16:36:24 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-12-06 16:36:24 -0500 |
commit | 3636d3e9357960f2dfd9b17da917d183db968427 (patch) | |
tree | fe92b7ae7a01d282867af180ad3eaf97bab4f748 /static/js/codecopy.ts | |
parent | e469338b416a4c129fd42fd448e902ddd1f66921 (diff) | |
download | canory-3636d3e9357960f2dfd9b17da917d183db968427.tar.gz canory-3636d3e9357960f2dfd9b17da917d183db968427.tar.bz2 canory-3636d3e9357960f2dfd9b17da917d183db968427.zip |
static/js: Organize console filters
Info, warning, and errors
Diffstat (limited to 'static/js/codecopy.ts')
-rw-r--r-- | static/js/codecopy.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/static/js/codecopy.ts b/static/js/codecopy.ts index 7c47c65..9885ad8 100644 --- a/static/js/codecopy.ts +++ b/static/js/codecopy.ts @@ -7,15 +7,12 @@ setTimeout( async () => { await navigator.clipboard.writeText(text); - console.log("Info: Code block text copied succesfully."); + console.log("INFO: Code text copied successfully"); }, 3000, ); } catch (error) { - console.error( - "Error: navigator.clipboard.writeText() failed.", - error, - ); + console.error("ERROR: Code text copy failed", error); } }, ); |