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(;
/* Perform the version check on new tab, module timer */
if (!tor_tag) { // tor is enabled...
torbutton_tag_new_browser(browser, tor_tag, no_plugins);
// XXX: This is possibly slightly the wrong place to do this check,
Supports Markdown
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