Do not show button if clipboard not available

This commit is contained in:
Daan Sprenkels committed 2020-04-05 18:46:40 +02:00
1 parent 1dd0d17ba5
commit 09481f47e6
3 files changed
+24 -8

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
{{end}}
{{define "body"}}
<pre>
<pre id="copyToClipboardContainer" class="hidden">
<button onclick="copyToClipboard('{{.RootURL}}/{{.Paste.Key}}{{.FileExt}}')">Copy URL to clipboard</button> <span id="copyToClipboardStatus"></span>
</pre>
<pre>