From b49dac77db217c9dd9bc073ca31a4cfa5c6c8c29 Mon Sep 17 00:00:00 2001 From: foudfou Date: Sat, 24 May 2014 16:04:27 +0200 Subject: [PATCH] cleaning --- src/chrome/content/overlay.js | 2 +- src/modules/FiretrayHandler.jsm | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/chrome/content/overlay.js b/src/chrome/content/overlay.js index 7f92236..3367f21 100644 --- a/src/chrome/content/overlay.js +++ b/src/chrome/content/overlay.js @@ -102,7 +102,7 @@ var firetrayChrome = { // each new window gets a new firetrayChrome ! replaceCommand: function(eltId, func) { let elt = document.getElementById(eltId); if (!elt) { - firetray_log.info("Element '"+eltId+"' not found. Command not replaced."); + firetray_log.debug("Element '"+eltId+"' not found. Command not replaced."); return null; } diff --git a/src/modules/FiretrayHandler.jsm b/src/modules/FiretrayHandler.jsm index ab7d693..fd2bbdd 100644 --- a/src/modules/FiretrayHandler.jsm +++ b/src/modules/FiretrayHandler.jsm @@ -502,23 +502,21 @@ firetray.Handler = { branch: "mail.biff.", pref: "show_tray_icon", bak:null} ], disablePrefsTmp: function() { - for (let i=0, len=this.prefsDisable.length; i