fixed possible infinite loop

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6633 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-06-22 05:30:53 +00:00
parent ed30f86aaa
commit da1bca3159

View file

@ -5,7 +5,10 @@ function overTab(obj) {
while(cObj) {
if(cObj.nodeName == "DIV" && cObj.id) {
var cTabID= cObj.id;
if(cTabID.indexOf('tab')<0) continue;
if(cTabID.indexOf('tab')<0) {
cObj = cObj.nextSibling;
continue;
}
var cContentID = cTabID.replace(/^tab/,'content');
if(tab_id == cTabID) {