From e96c63723d6b592c8cbd7e82f88cd4f38f364791 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 15 Oct 2007 14:18:42 +0000 Subject: [PATCH] use getAnonymousElementByAttribute to find tabbrowser-tabs since FF2 doesn't have getElementsByClassName --- content/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/options.js b/content/options.js index 2db9f6d6..0a4b31af 100644 --- a/content/options.js +++ b/content/options.js @@ -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;