mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
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:
parent
ed30f86aaa
commit
da1bca3159
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue