Skip to content

Commit

Permalink
Merge branch 'nightly' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ithinc committed Feb 25, 2014
2 parents bbc25e9 + 7fa6177 commit 021a172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/tabutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,7 @@ tabutils._undoCloseTabButton = function() {
document.getElementById("History:UndoCloseTab").removeAttribute("disabled");
gBrowser._lastClosedTabsCount = null;
};
//tabutils.updateUndoCloseTabCommand();
document.getElementById("History:UndoCloseTab").setAttribute("disabled", true);
TU_hookCode("gBrowser.onTabClose", "}", "tabutils.updateUndoCloseTabCommand();");
TU_hookCode("gBrowser.onTabRestoring", "}", "tabutils.updateUndoCloseTabCommand();");
TU_hookCode("gSessionHistoryObserver.observe", "}", "tabutils.updateUndoCloseTabCommand();");
Expand Down

0 comments on commit 021a172

Please sign in to comment.