Team:Goettingen/suplement/scripts ie ff patch

From 2013.igem.org

(Difference between revisions)
Line 11: Line 11:
var getNextElementSibling = function (ob){
var getNextElementSibling = function (ob){
-
 
+
while(ob && ob.nodeType != 1){ob = ob.nextSibling}
-
do {ob = ob.nextSibling;
+
-
}while ((ob) && (ob.nodeType !== 1));
+
return ob;
return ob;
}
}

Revision as of 17:30, 21 July 2013