From 70ab570ba48d2d3e1a8ce8eaf944bbb0eff983db Mon Sep 17 00:00:00 2001 From: Eric Kever Date: Thu, 21 Jul 2011 09:12:37 -0700 Subject: [PATCH] Copy/paste fail. --- javascripts/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascripts/app.js b/javascripts/app.js index 93e99ab..ea5259c 100644 --- a/javascripts/app.js +++ b/javascripts/app.js @@ -70,7 +70,7 @@ function removeClass(element, name){ } function doFancyExpensiveTabThings(){ - var tabs = getElementsByClassName(document, "ul", "tabs"); + var tabs = (document.getElementsByClassName ? document.getElementsByClassName("tabs") : getElementsByClassName(document, "ul", "tabs")); for(var i = 0, j = tabs.length; i < j; i++){ var tabList = tabs[i].getElementsByTagName('li');