Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthew Finkel
torbutton
Commits
1f5c7cce
Commit
1f5c7cce
authored
Nov 15, 2012
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/chrome/content/torbutton.js
View file @
1f5c7cce
...
...
@@ -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,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment