From a1eb71a76814fb75def5442ad224121a07ad9eb6 Mon Sep 17 00:00:00 2001 From: RobinLinus Date: Sun, 20 Dec 2020 04:41:16 +0100 Subject: [PATCH] Use native clipboard.writeText, Cleanup polyfill --- client/index.html | 1 + client/scripts/clipboard.js | 38 +++++++++++++++++++++++++++++++++++++ client/scripts/ui.js | 38 ++++--------------------------------- 3 files changed, 43 insertions(+), 34 deletions(-) create mode 100644 client/scripts/clipboard.js diff --git a/client/index.html b/client/index.html index 045cdad..5a2a19b 100644 --- a/client/index.html +++ b/client/index.html @@ -195,6 +195,7 @@ +