|
@@ -3708,7 +3708,11 @@
|
|
|
|
|
|
//Continue to render QR Code and UI contents
|
|
|
$("#qrcode").html("");
|
|
|
- var shareURL = protocol + window.location.hostname + ":" + window.location.port + "/share/" + data.UUID;
|
|
|
+ var port = ":" + window.location.port;
|
|
|
+ if (window.location.port == ""){
|
|
|
+ port = "";
|
|
|
+ }
|
|
|
+ var shareURL = protocol + window.location.hostname + port + "/share/" + data.UUID;
|
|
|
shareEditingUUID = data.UUID;
|
|
|
new QRCode(document.getElementById("qrcode"), shareURL);
|
|
|
$("#sharelink").text(shareURL);
|