span -> div
This commit is contained in:
parent
0bc6298cc0
commit
c618440878
@ -145,7 +145,7 @@ function nntpchan_delete() {
|
|||||||
function createConnectionElement(j) {
|
function createConnectionElement(j) {
|
||||||
var e = document.createElement("div");
|
var e = document.createElement("div");
|
||||||
e.setAttribute("class", "connection");
|
e.setAttribute("class", "connection");
|
||||||
var auth = document.createElement("span");
|
var auth = document.createElement("div");
|
||||||
auth.appendChild(document.createTextNode("Connection: "));
|
auth.appendChild(document.createTextNode("Connection: "));
|
||||||
// authentication state
|
// authentication state
|
||||||
if (j.authed) {
|
if (j.authed) {
|
||||||
@ -157,7 +157,7 @@ function createConnectionElement(j) {
|
|||||||
e.appendChild(auth);
|
e.appendChild(auth);
|
||||||
|
|
||||||
// connection mode
|
// connection mode
|
||||||
var mode = document.createElement("span");
|
var mode = document.createElement("div");
|
||||||
mode.setAttribute("class", "mode");
|
mode.setAttribute("class", "mode");
|
||||||
mode.appendChild(document.createTextNode("mode: "+j.mode));
|
mode.appendChild(document.createTextNode("mode: "+j.mode));
|
||||||
e.appendChild(mode);
|
e.appendChild(mode);
|
||||||
|
Reference in New Issue
Block a user