diff options
author | Rasmus Andersson <rasmus@figma.com> | 2019-05-27 03:46:19 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@figma.com> | 2019-05-27 03:46:19 +0300 |
commit | 91be54ae8c1b8d4b9ceb6310e0b05495271f8efd (patch) | |
tree | c70343da27a971421400ade0cc6f9ab4df233ba2 /docs/index.html | |
parent | fc5a5cdf274b2ccab820d49b8c4b7f26c5edfbec (diff) | |
download | inter-91be54ae8c1b8d4b9ceb6310e0b05495271f8efd.tar.xz |
website: fix for touch devices
Diffstat (limited to 'docs/index.html')
-rw-r--r-- | docs/index.html | 2 |
1 files changed, 2 insertions, 0 deletions
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') } })(); |