Copy/paste fail.
This commit is contained in:
parent
7afa4d85d0
commit
70ab570ba4
@ -70,7 +70,7 @@ function removeClass(element, name){
|
|||||||
}
|
}
|
||||||
|
|
||||||
function doFancyExpensiveTabThings(){
|
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++){
|
for(var i = 0, j = tabs.length; i < j; i++){
|
||||||
var tabList = tabs[i].getElementsByTagName('li');
|
var tabList = tabs[i].getElementsByTagName('li');
|
||||||
|
Loading…
Reference in New Issue
Block a user