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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user