Merge branch 'master' of ssh://github.com/majestrate/nntpchan
This commit is contained in:
commit
c03c8c370e
@ -49,9 +49,11 @@ function inject_nntp_feed_element(feed, elem) {
|
|||||||
elem.appendChild(name);
|
elem.appendChild(name);
|
||||||
var conns = document.createElement("div");
|
var conns = document.createElement("div");
|
||||||
conns.setAttribute("class", "connections");
|
conns.setAttribute("class", "connections");
|
||||||
|
if (feed.Conns) {
|
||||||
for ( var idx = 0 ; idx < feed.Conns.length; idx ++ ) {
|
for ( var idx = 0 ; idx < feed.Conns.length; idx ++ ) {
|
||||||
conns.appendChild(createConnectionElement(feed.Conns[idx]));
|
conns.appendChild(createConnectionElement(feed.Conns[idx]));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
elem.appendChild(conns);
|
elem.appendChild(conns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user