X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matitaB%2Fmatita%2Fhtml%2Fmatitaweb.js;h=cec0bb3baa9d7a4ea6feb1dbd7ab35a5c30206ab;hb=3800a841aa7115b10432f588d31b77129b3a0dc9;hp=d367b6bb3019a02590894f09c4e3d455a2ca4eb8;hpb=35447b603d9b94a7a05bebc640d61d263820624c;p=helm.git diff --git a/matitaB/matita/html/matitaweb.js b/matitaB/matita/html/matitaweb.js index d367b6bb3..cec0bb3ba 100644 --- a/matitaB/matita/html/matitaweb.js +++ b/matitaB/matita/html/matitaweb.js @@ -211,10 +211,10 @@ function lookup_tex(texmacro) function strip_tags(tagname,classname) { var tags = unlocked.getElementsByTagName(tagname); - var tlen = tags.length; // preserving the value from removeChild operations if (is_defined(classname)) { tags = filterByClass(tags,classname); } + var tlen = tags.length; // preserving the value from removeChild operations for (i = 0; i < tlen; i++) { var children = tags[i].childNodes; for (j = 0; j < children.length; j++) {