gluon-status-page: Use querySelector instead of firstElementChild
This commit is contained in:
parent
68a5a74d1d
commit
1ceb4428da
File diff suppressed because one or more lines are too long
@ -444,7 +444,7 @@
|
||||
}
|
||||
|
||||
function Neighbour(iface, addr, color, destroy) {
|
||||
var th = iface.tbody.firstElementChild;
|
||||
var th = iface.tbody.querySelector('tr');
|
||||
var el = iface.tbody.insertRow();
|
||||
|
||||
var tdHostname = el.insertCell();
|
||||
@ -692,7 +692,7 @@
|
||||
}
|
||||
|
||||
var info = {
|
||||
'tbody': el.firstElementChild.firstElementChild,
|
||||
'tbody': el.querySelector('tbody'),
|
||||
'signalgraph': signalgraph,
|
||||
'ifname': ifname,
|
||||
'wireless': wireless,
|
||||
|
Loading…
Reference in New Issue
Block a user