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