Commit 1f5c7cce authored by Mike Perry's avatar Mike Perry
Browse files

Bug 6096: Perform version check every time there's a new tab.

This is limited by the timer from #6156.
parent ad92f4ab
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment