Content deleted Content added
debug script, and shorten tab name |
more debugging, added check that diff table body exists |
||
Line 124:
}
diff_table_body = diff_table_bodies[0];
if (!diff_table_body) {
alert_string = "ERROR: This article has a null TBODY element within its \"diff\" table.";
window.alert(alert_string);
return;
}
// Loop over the table rows in the table body
Line 144 ⟶ 150:
}
/*▼
for (table_row_index=0; table_row_index<num_diff_table_rows; table_row_index++) {
temp_table_row = diff_table_rows[table_row_index];
if (!temp_table_row) { continue; }
▲/*
table_row_data = temp_table_row.getElementsByTagName("TD");
if (!table_row_data) { continue; }
Line 158 ⟶ 164:
if (!temp_table_datum) { continue; }
} // closes loop over the data within a table row
} // closes loop over the table rows▼
*/
▲ } // closes loop over the table rows
// Report the results
alert_string = "";
|