Archived
1
0

update search

This commit is contained in:
Jeff Becker 2016-12-26 11:21:34 -05:00
parent 579970c079
commit 8f9622dca8

View File

@ -14,7 +14,11 @@ function inject_search(elem) {
function inject_search_result(r) { function inject_search_result(r) {
var e = document.createElement("div"); var e = document.createElement("div");
e.innerHTML = r.PostMarkup; var a = document.createElement("a");
a.href = r.URL;
e.appendChild(a);
var txt = document.createTextNode(r.Message_id);
a.appendChild(txt);
output.appendChild(document.createElement("hr")); output.appendChild(document.createElement("hr"));
output.appendChild(e); output.appendChild(e);
} }