launch by click fixed
This commit is contained in:
parent
4c6c061835
commit
b6f0c5c5cd
|
@ -62,7 +62,7 @@
|
|||
if(prevent) e.preventDefault();
|
||||
}
|
||||
if(e.type == 'click') {
|
||||
current = slideList.indexOf(e.target.parentNode.id);
|
||||
current = slideList.indexOf(e.target.parentNode.parentNode.id);
|
||||
}
|
||||
} else {
|
||||
current = (current+1) ? current : 0;
|
||||
|
|
Loading…
Reference in New Issue