From 5c989397023a3d290ebb9ea390401a5ca433ccd3 Mon Sep 17 00:00:00 2001 From: axtloss Date: Tue, 20 Aug 2024 13:36:20 +0200 Subject: fix copy --- src/app.html | 6 ------ src/routes/+page.svelte | 15 +++++++-------- 2 files changed, 7 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/app.html b/src/app.html index 3f56455..5862a66 100644 --- a/src/app.html +++ b/src/app.html @@ -1,11 +1,5 @@ - diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index c046cd7..f7fddd5 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -21,7 +21,6 @@ var matrix: string = "c210213a12713012b1230fc13612a1270ef12313213113612a12712512313413b0f012512e137124" onMount(() => { if (navigator.webdriver) { - document.body.toggleAttribute("data-noscript"); return; } @@ -102,7 +101,7 @@

Contact

-

Click on an element to copy its address

+

Click on a card to copy its address

You can contact me on these platforms!

@@ -117,8 +116,8 @@
+ on:click={isDecoded(matrix) ? copyText(xmpp) : undefined} + on:keydown={isDecoded(matrix) ? copyText(xmpp) : undefined}>

XMPP

{#if !browser} @@ -131,10 +130,10 @@
+ on:click={isDecoded(matrix) ? copyText(matrix) : undefined} + on:keydown={isDecoded(matrix) ? copyText(matrix) : undefined}>

matrix

- {#if !browser} + {#if !browser} {:else}

{matrix}

@@ -144,7 +143,7 @@