From 0c591747d7bc510d3683e569d10c2c2cee5e7ee1 Mon Sep 17 00:00:00 2001 From: Frank Steinberg <steinberg@ibr.cs.tu-bs.de> Date: Fri, 11 Oct 2019 16:06:06 +0200 Subject: [PATCH] Fix. --- web/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/edit.js b/web/edit.js index 9981e2f..24f90bf 100644 --- a/web/edit.js +++ b/web/edit.js @@ -145,7 +145,7 @@ xhr2.send(); function recalcTodo() { - var parts = styleguide_node.querySelectorAll("category", "subcategory"); + var parts = styleguide_node.querySelectorAll("category, subcategory"); for (var i = 0; i < parts.length; i++) { var nav = parts[i].getElementsByTagName("nav")[0]; var originals = parts[i].querySelectorAll('*[source="original"]'); -- GitLab