ignore about:sessionrestore if it is just the restored tab.
This commit is contained in:
parent
1333157a92
commit
ad85e46093
@ -2879,7 +2879,8 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
{
|
{
|
||||||
this.restoreStructure(aEvent.originalTarget);
|
this.restoreStructure(aEvent.originalTarget);
|
||||||
|
|
||||||
if (this.mTabBrowser.currentURI.spec == 'about:sessionrestore') {
|
if (!aEvent.originalTarget.selected &&
|
||||||
|
this.mTabBrowser.currentURI.spec == 'about:sessionrestore') {
|
||||||
let frame = this.mTabBrowser.contentWindow;
|
let frame = this.mTabBrowser.contentWindow;
|
||||||
frame = frame.wrappedJSObject || frame;
|
frame = frame.wrappedJSObject || frame;
|
||||||
let tree = frame.document.getElementById('tabList');
|
let tree = frame.document.getElementById('tabList');
|
||||||
|
Loading…
Reference in New Issue
Block a user