Commit dbcbf8a3 authored by Vadim Makeev's avatar Vadim Makeev

click moved to the inner element to remove event handler from the slide number

parent 1777c94c
......@@ -7,7 +7,7 @@
slideList = [];
for(var i = 0, slidesLength = slides.length; i < slidesLength; i++) {
slides[i].addEventListener('click', enterFull, false);
slides[i].firstChild.addEventListener('click', enterFull, false);
slideList[i] = slides[i].id;
}
......
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