From 553e00686a8f0a2593ea91bc64a090d7a165f045 Mon Sep 17 00:00:00 2001 From: Camille Barneaud Date: Fri, 1 Mar 2013 00:34:57 +0100 Subject: [PATCH] Correction Correct an error in last commit --- drivers/chrome/js/driver.js | 5 ++++- drivers/firefox/content/js/driver.js | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/chrome/js/driver.js b/drivers/chrome/js/driver.js index c9490deb5..ff6135a2a 100644 --- a/drivers/chrome/js/driver.js +++ b/drivers/chrome/js/driver.js @@ -5,7 +5,10 @@ (function() { if ( wappalyzer == null ) { return; } - var w = wappalyzer, tab, tabCache = {}; + var w = wappalyzer, + firstRun = false, + upgraded = false, + tab, tabCache = {}; w.driver = { /** diff --git a/drivers/firefox/content/js/driver.js b/drivers/firefox/content/js/driver.js index f6e910b4b..509dabd5a 100644 --- a/drivers/firefox/content/js/driver.js +++ b/drivers/firefox/content/js/driver.js @@ -238,7 +238,7 @@ image = d.createElement('image'); image.setAttribute('src', 'chrome://wappalyzer/skin/images/icons/' + app + '.png'); - image.setAttribute('tooltiptext', app + ' - ' + categories.join(', ')); + image.setAttribute('tooltiptext', app + ( version ? ' ' + version : '' ) + ' - ' + categories.join(', ')); container.appendChild(image); }