Commit 58dc8f14 authored by Mike Perry's avatar Mike Perry
Browse files

Misc: Open a new browser window the official way.

There was an issue with the 5729 fix with windows closing out from under us if
the page load was stopped.
parent 17a284d4
......@@ -1613,9 +1613,7 @@ function torbutton_do_new_identity() {
}
// Open a new window with the TBB check homepage
var homepage = m_tb_prefs.getComplexValue("browser.startup.homepage",
Components.interfaces.nsIPrefLocalizedString).data;
window.open(homepage);
OpenBrowserWindow();
torbutton_log(3, "New identity successful");
......
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