1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-13 09:15:45 +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) 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;