summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')
}
})();