- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 21 Apr 2011 04:34:48 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view In directory hutz:/tmp/cvs-serv15195 Modified Files: toc.js Log Message: updated Index: toc.js =================================================================== RCS file: /sources/public/html5/spec-author-view/toc.js,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- toc.js 21 Apr 2011 04:29:20 -0000 1.3 +++ toc.js 21 Apr 2011 04:34:46 -0000 1.4 @@ -2,9 +2,8 @@ var li = toc.firstChild; var allmatched = true; while (li) { - if (li.nodeType == Node.ELEMENT_NODE && li.hasChildNodes && - li.firstChild != null && - li.firstChild.nodeType == Node.ELEMENT_NODE) { + if (li.nodeType == Node.ELEMENT_NODE && + li.firstChild != null) { var id = li.firstChild.hash.substr(1); var target = document.getElementById(id); var matched = false;
Received on Thursday, 21 April 2011 04:34:50 UTC