var for target variable

This commit is contained in:
Vadim Makeev 2011-07-17 23:13:06 +04:00
parent 9f91bf40db
commit 96bb956312
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
}
function turnSlide(e) {
var current = slideList.indexOf(url.hash.substr(1));
var current = slideList.indexOf(url.hash.substr(1)), target;
if(e) {
if(e.type == 'keydown') {
var prevent = true;