fix-sharekey-https
This commit is contained in:
@@ -534,7 +534,7 @@ function shareKey() {
|
|||||||
$("#shareKey").html("ON")
|
$("#shareKey").html("ON")
|
||||||
sharekey.html(res)
|
sharekey.html(res)
|
||||||
globalShareKey = res
|
globalShareKey = res
|
||||||
sharelink.html("http://"+window.location.host + "/observe?sid=" + globalShareKey)
|
sharelink.html(window.location.href.split("/")[0] + "//"+window.location.host + "/observe?sid=" + globalShareKey)
|
||||||
sharelink.attr("href", "http://"+window.location.host + "/observe?sid=" + globalShareKey)
|
sharelink.attr("href", "http://"+window.location.host + "/observe?sid=" + globalShareKey)
|
||||||
sharelink.css("color","#1cc88a")
|
sharelink.css("color","#1cc88a")
|
||||||
} else
|
} else
|
||||||
|
|||||||
Reference in New Issue
Block a user