From 2a7171fb5cd16ae361916dd0dd97d566f970a6df Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Fri, 10 Sep 2010 18:01:31 +0200 Subject: Add console.log to show what's going on in getOptionTableCell --- lib/bzpage.js | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/bzpage.js b/lib/bzpage.js index b4891c5..2f4436f 100644 --- a/lib/bzpage.js +++ b/lib/bzpage.js @@ -695,6 +695,7 @@ BZPage.prototype.getOptionTableCell = function getOptionTableCell(tableId, label label = label.trim().replace(cleanLabelRE,"$1").toLowerCase(); var rows = this.doc.getElementById(tableId).getElementsByTagName("tr"); + console.log("rows.length = " + rows.length); var ourLine = Array.filter(rows, function(row) { var curLabel = row.getElementsByTagName("td")[0].textContent.toLowerCase(); curLabel = curLabel.replace(cleanLabelRE,"$1"); -- cgit