From 3ba54a14fba21820f99f2cf8d0ecb90b64834f77 Mon Sep 17 00:00:00 2001 From: "Vyacheslav.Sviridov" Date: Sun, 25 Apr 2021 19:41:13 +0600 Subject: [PATCH] textarea visibility --- assets/script.js | 1 + serviceworker.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index 7dfcb8f..a0e7e41 100644 --- a/assets/script.js +++ b/assets/script.js @@ -149,6 +149,7 @@ async function getMetadata(fileRef) { async function copyToClipboard() { const textarea = document.createElement('textarea') + textarea.visible = false document.body.appendChild(textarea) textarea.value = fileUrl textarea.select() diff --git a/serviceworker.js b/serviceworker.js index 734dde9..d657749 100644 --- a/serviceworker.js +++ b/serviceworker.js @@ -1,4 +1,4 @@ -const staticCacheName = 's-streamio-v2' +const staticCacheName = 's-streamio-v3' const assetUrls = [ '.',