From 91be54ae8c1b8d4b9ceb6310e0b05495271f8efd Mon Sep 17 00:00:00 2001 From: Rasmus Andersson Date: Sun, 26 May 2019 17:46:19 -0700 Subject: website: fix for touch devices --- docs/index.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/index.html') diff --git a/docs/index.html b/docs/index.html index 30d1a1b02..a28d79ff4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -513,10 +513,12 @@ for (i = 0; i < av.length; ++i) { var copyToClipboard = (function(){ var hiddenTextInput = $('#hidden-text-input') return function(text) { + hiddenTextInput.style.display = null hiddenTextInput.value = text hiddenTextInput.select() document.execCommand("copy") hiddenTextInput.value = "" + hiddenTextInput.style.display = 'none' HUDNotification.show('Copied to clipboard') } })(); -- cgit v1.2.3