Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

Commit

Permalink
[Fix] Tabs tooltip always shown as "Collapse Stack" in Fx55+
Browse files Browse the repository at this point in the history
  • Loading branch information
yfdyh000 committed Aug 17, 2017
1 parent 87b5665 commit 079d4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/content/tabutils-st.js
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ tabutils._stackTabs = function() {

TU_hookCode("gBrowser.mTabContainer._selectNewTab", "aNewTab.hidden", "$& || aNewTab.collapsed");

TU_hookCode("gBrowser.createTooltip", /(tab|tn).getAttribute\("label"\)/, function(s, s1) (function() {
TU_hookCode("gBrowser.createTooltip", /(?:tab\._.+)(tab|tn).getAttribute\("label"\)/, function(s, s1) (function() {
a1.mOverTwisty ? a1.hasAttribute("group-collapsed") ?
document.getElementById("context_collapseStack").getAttribute("label_expand") :
document.getElementById("context_collapseStack").getAttribute("label_collapse")
Expand Down

0 comments on commit 079d4a1

Please sign in to comment.