From b6f0c5c5cd8aea2e670b80e9d1311bc1d876d413 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Sat, 16 Jul 2011 20:19:30 +0400 Subject: [PATCH] launch by click fixed --- scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 1e45a42..53d25f4 100755 --- a/scripts/script.js +++ b/scripts/script.js @@ -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;