Copy/paste fail.

This commit is contained in:
Eric Kever 2011-07-21 09:12:37 -07:00
parent 7afa4d85d0
commit 70ab570ba4

View File

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