1
0
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:
Doug Kearns
2007-10-15 14:18:42 +00:00
parent a3bd35b787
commit e96c63723d

View File

@@ -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;