launch by click fixed

This commit is contained in:
Vadim Makeev 2011-07-16 20:19:30 +04:00
parent 4c6c061835
commit b6f0c5c5cd
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@
if(prevent) e.preventDefault(); if(prevent) e.preventDefault();
} }
if(e.type == 'click') { if(e.type == 'click') {
current = slideList.indexOf(e.target.parentNode.id); current = slideList.indexOf(e.target.parentNode.parentNode.id);
} }
} else { } else {
current = (current+1) ? current : 0; current = (current+1) ? current : 0;