|
@@ -115,7 +115,7 @@
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<a href="{{downloadurl}}"><button class="button-primary">Download All</button></a>
|
|
|
- <button onclick="share();">Share</button>
|
|
|
+ <button id="sharebtn" onclick="share();">Share</button>
|
|
|
<p style="font-size: 80%;"><b>Depending on folder size, zipping might take a while to complete.</b></p>
|
|
|
<p>Request File ID: {{reqid}}<br>
|
|
|
Request Timestamp: {{reqtime}}</p>
|
|
@@ -156,6 +156,10 @@
|
|
|
handleWindowResize();
|
|
|
});
|
|
|
|
|
|
+ if (location.protocol !== 'https:') {
|
|
|
+ document.getElementById("sharebtn").remove()
|
|
|
+ }
|
|
|
+
|
|
|
function share(){
|
|
|
let shareData = {
|
|
|
title: "{{filename}}",
|