Fix for bug 286300 (Clean up HTML tags enum and related code). r/sr=jst, a=asa.

git-svn-id: svn://10.0.0.236/trunk@204898 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%propagandism.org 2006-07-27 14:58:37 +00:00
parent 75109d1d37
commit 61ae07fa78
2 changed files with 2 additions and 2 deletions

View File

@ -700,7 +700,7 @@ if (!CUST_DEBUG) {
var indent = "| | | | | | | | | | | | | | | | | | | | | | | | | | | | + ";
debug(indent.substr(indent.length - depth*2) + index +
" " + node.nodeName);
if (node.nodeName != "#text") {
if (node.nodeType != Node.TEXT_NODE) {
dump_attributes(node, depth);
}
var kids = node.childNodes;

View File

@ -1634,7 +1634,7 @@ if (!SB_DEBUG) {
var indent = "| | | | | | | | | | | | | | | | | | | | | | | | | | | | + ";
debug(indent.substr(indent.length - depth*2) + index +
" " + node.nodeName);
if (node.nodeName != "#text") {
if (node.nodeType != Node.TEXT_NODE) {
dump_attributes(node, depth);
}
var kids = node.childNodes;