Archived
1
0
This commit is contained in:
Jeff Becker 2019-03-02 11:27:25 -05:00
parent cbc8528f4c
commit 3807561ca1
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -52,7 +52,7 @@
var e = document.getElementById("post_body_{{post.PostHash}}"); var e = document.getElementById("post_body_{{post.PostHash}}");
if(e) { if(e) {
var u = new URL(j[0].ReferencedURI); var u = new URL(j[0].ReferencedURI);
if(u.protocol === "https" || u.protocol === "http") { if(u.protocol === "https:" || u.protocol === "http:") {
var link = document.createElement("a"); var link = document.createElement("a");
link.href = u.toString(); link.href = u.toString();
link.innerText = "[Link]"; link.innerText = "[Link]";