mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 23:25:45 +01:00
Fix 'showtabline'.
This commit is contained in:
@@ -689,9 +689,10 @@ function Tabs() //{{{
|
|||||||
{
|
{
|
||||||
let tabStrip = null;
|
let tabStrip = null;
|
||||||
|
|
||||||
|
// FIXME: why is this app specific conditional code here?
|
||||||
if (config.hostApplication == "Firefox")
|
if (config.hostApplication == "Firefox")
|
||||||
tabStrip = getBrowser().mStrip.getElementsByClassName("tabbrowser-tabs")[0];
|
tabStrip = getBrowser().mStrip.getElementsByClassName("tabbrowser-tabs")[0];
|
||||||
else if (config.hostApplication == "Thunderbird")
|
else if (/^(Thunderbird|Songbird)$/.test(config.hostApplication))
|
||||||
tabStrip = getBrowser().mStrip;
|
tabStrip = getBrowser().mStrip;
|
||||||
|
|
||||||
return tabStrip;
|
return tabStrip;
|
||||||
|
|||||||
Reference in New Issue
Block a user