Do not show button if clipboard not available
This commit is contained in:
1 parent
1dd0d17ba5
commit
09481f47e6
3 files changed
+24
-8
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user