forked from electricdusk/rushlink
Do not show button if clipboard not available
This commit is contained in:
@@ -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