mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-15 16:25:47 +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)
|
||||
{
|
||||
var tabs = getBrowser().mStrip.getElementsByClassName("tabbrowser-tabs")[0];
|
||||
var tabs = document.getAnonymousElementByAttribute(getBrowser(), "class", "tabbrowser-tabs");
|
||||
if (!tabs)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user