update search
This commit is contained in:
parent
579970c079
commit
8f9622dca8
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user