1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 11:44:11 +01:00

Fix stal=0 on FF4.

This commit is contained in:
Kris Maglione
2010-09-24 10:54:06 -04:00
parent 296ceee3d2
commit a99c586d98
2 changed files with 6 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ const Tabs = Module("tabs", {
// hide tabs initially to prevent flickering when 'stal' would hide them
// on startup
if (config.hasTabbrowser)
config.tabbrowser.mTabContainer.collapsed = true; // FIXME: see 'stal' comment
config.tabStrip.collapsed = true; // FIXME: see 'stal' comment
},
_updateTabCount: function () {
@@ -987,7 +988,7 @@ const Tabs = Module("tabs", {
// don't have to fight against the host app's attempts to keep
// it open - hack! Adding a filter watch to mStrip is probably
// the cleanest solution.
let tabStrip = config.tabbrowser.mTabContainer;
let tabStrip = config.tabStrip;
if (value == 0)
tabStrip.collapsed = true;