Commit b6f0c5c5 authored by Vadim Makeev's avatar Vadim Makeev

launch by click fixed

parent 4c6c0618
...@@ -62,7 +62,7 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment