click moved to the inner element to remove event handler from the slide number
This commit is contained in:
parent
1777c94c81
commit
dbcbf8a3e5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue