commit 1f5c7cceac380503605ad56e231824ef5c78c560
Author: Mike Perry <mikeperry-git(a)fscked.org>
Date: Thu Nov 15 22:12:36 2012 -0800
Bug 6096: Perform version check every time there's a new tab.
This is limited by the timer from #6156.
---
src/chrome/content/torbutton.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 93d7968..75fe7ab 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -4269,6 +4269,11 @@ function torbutton_new_tab(event)
//var browser = event.currentTarget;
var browser = gBrowser.getBrowserForTab(event.target);
+ /* Perform the version check on new tab, module timer */
+ if (!tor_tag) { // tor is enabled...
+ torbutton_do_async_versioncheck();
+ }
+
torbutton_tag_new_browser(browser, tor_tag, no_plugins);
// XXX: This is possibly slightly the wrong place to do this check,