Skip to content

Commit

Permalink
Correctly fill TabState.permanentKey to restore closed tabs
Browse files Browse the repository at this point in the history
(bug in cb93d3a commit)
(#197, related to #146)
  • Loading branch information
Infocatcher committed Dec 26, 2015
1 parent 5914ede commit d526f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ var privateTab = {
if("_replaceLoadingTitle" in SessionStoreInternal)
tabTitle = SessionStoreInternal._replaceLoadingTitle(tabTitle, gBrowser, tab);
var _undoData = {
permanentKey: tab.linkedBrowser, // For Firefox 40+
permanentKey: tab.linkedBrowser.permanentKey || null, // For Firefox 40+
state: tabState,
title: tabTitle,
image: this.getTabIcon(tab),
Expand Down

0 comments on commit d526f93

Please sign in to comment.