Content deleted Content added
in case the script is run twice on the same article |
flip sign of the conditional |
||
Line 111:
child_node = temp_DD_element.firstChild;
if (child_node) {
if ((child_node.nodeType != 3) || (!child_node.data.match(/^\(Indent\s\d+\)/))) {
temp_DD_element.insertBefore(document.createTextNode(indent_level_string), child_node);
} // add "(Indent #)" to beginning if it isn't there already
|