mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
Bug 265573 - Lets try to remove all traces of the client view when hiding it.
r=rginda a=asa p=gijskruitbosch@gmail.com (Gijs "Hannibal" Kruitbosch)
This commit is contained in:
parent
23f752a31a
commit
778d1ba7ba
@ -607,10 +607,7 @@ function processStartupURLs()
|
||||
|
||||
if (client.viewsArray.length > 1 && !isStartupURL("irc://"))
|
||||
{
|
||||
var tb = getTabForObject(client);
|
||||
deleteTab(tb);
|
||||
client.deck.removeChild(client.frame);
|
||||
client.deck.selectedIndex = 0;
|
||||
dispatch("delete-view", {view: client});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user