mirror of
git://git.savannah.gnu.org/guix/maintenance.git
synced 2023-12-14 03:33:04 +01:00
hydra: status: Update getElementsByName comment.
* hydra/nginx/html/status/index.html (getElementsByName): Update comment.
This commit is contained in:
parent
dd45860d80
commit
f4e0a52bc6
1 changed files with 1 additions and 2 deletions
|
@ -165,6 +165,7 @@ function updateLatestbuildtime(td) {
|
|||
latestbuildtimenode.textContent = value;
|
||||
}
|
||||
|
||||
/** Returns a list of child elements of ROOT with name NAME, non-recursively. */
|
||||
function getElementsByName(root, name) {
|
||||
let result = [];
|
||||
let childNodes = root.childNodes;
|
||||
|
@ -177,8 +178,6 @@ function getElementsByName(root, name) {
|
|||
return result;
|
||||
}
|
||||
|
||||
// XXX: I think getElementsByTagName does depth recursion. That's not what I want.
|
||||
|
||||
/** Given a TABLE and PACKAGEGROUPID, removes the entry for build BUILDID from it. */
|
||||
function removePackagegroupelement(table, packagegroupid, buildid) {
|
||||
let rootbody = table.getElementsByTagName("tbody")[0];
|
||||
|
|
Loading…
Reference in a new issue