mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 17:15:45 +01:00
use getAnonymousElementByAttribute to find tabbrowser-tabs since FF2 doesn't
have getElementsByClassName
This commit is contained in:
@@ -221,7 +221,7 @@ function Options() //{{{
|
|||||||
|
|
||||||
function setShowTabline(value)
|
function setShowTabline(value)
|
||||||
{
|
{
|
||||||
var tabs = getBrowser().mStrip.getElementsByClassName("tabbrowser-tabs")[0];
|
var tabs = document.getAnonymousElementByAttribute(getBrowser(), "class", "tabbrowser-tabs");
|
||||||
if (!tabs)
|
if (!tabs)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user