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

Fix 'showtabline'.

This commit is contained in:
Doug Kearns
2009-03-25 02:32:19 +11:00
parent ed502d5d61
commit 349c442eb5

View File

@@ -689,9 +689,10 @@ function Tabs() //{{{
{
let tabStrip = null;
// FIXME: why is this app specific conditional code here?
if (config.hostApplication == "Firefox")
tabStrip = getBrowser().mStrip.getElementsByClassName("tabbrowser-tabs")[0];
else if (config.hostApplication == "Thunderbird")
else if (/^(Thunderbird|Songbird)$/.test(config.hostApplication))
tabStrip = getBrowser().mStrip;
return tabStrip;