summaryrefslogtreecommitdiff
path: root/docs/index.html
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@figma.com>2019-05-27 03:46:19 +0300
committerRasmus Andersson <rasmus@figma.com>2019-05-27 03:46:19 +0300
commit91be54ae8c1b8d4b9ceb6310e0b05495271f8efd (patch)
treec70343da27a971421400ade0cc6f9ab4df233ba2 /docs/index.html
parentfc5a5cdf274b2ccab820d49b8c4b7f26c5edfbec (diff)
downloadinter-91be54ae8c1b8d4b9ceb6310e0b05495271f8efd.tar.xz
website: fix for touch devices
Diffstat (limited to 'docs/index.html')
-rw-r--r--docs/index.html2
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')
}
})();