aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/bugzillaDOMFunctions.js
diff options
context:
space:
mode:
Diffstat (limited to 'data/lib/bugzillaDOMFunctions.js')
-rw-r--r--data/lib/bugzillaDOMFunctions.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js
index ae4b01d..3fa1464 100644
--- a/data/lib/bugzillaDOMFunctions.js
+++ b/data/lib/bugzillaDOMFunctions.js
@@ -426,6 +426,7 @@ function getCCList () {
*/
function killNodes(doc, target, remove) {
var victimElements = [];
+ myDebug("target:\n" + target.toSource());
if (target.forEach) {
target.forEach(function(x) {
@@ -450,7 +451,8 @@ function killNodes(doc, target, remove) {
elem[1].parentNode.removeChild(elem[1]);
}
catch (e if e instanceof TypeError) {
- console.error("Cannot remove: " + elem[0]);
+ myDebug("victimElements:\n" + victimElements.toSource());
+ console.log("Cannot remove: " + elem[0]);
};
};
}