From 03a01c78c630251416a6e21ad797158d9d16081b Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Wed, 11 Apr 2012 11:38:06 +0200 Subject: Clean superfluous console.log calls and update HACKING With debugging switched off the addons should generate nothing on the console. --- data/lib/bugzillaDOMFunctions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/lib/bugzillaDOMFunctions.js') diff --git a/data/lib/bugzillaDOMFunctions.js b/data/lib/bugzillaDOMFunctions.js index be30a3e..ae4b01d 100644 --- a/data/lib/bugzillaDOMFunctions.js +++ b/data/lib/bugzillaDOMFunctions.js @@ -198,7 +198,7 @@ function createNewButton (location, after, cmdObj) { // protection against double-firings if (document.getElementById(newId)) { - console.log("Element with id " + newId + " already exists!"); + console.warning("Element with id " + newId + " already exists!"); return ; } -- cgit