From 96bb95631290ce4d268b9b77360ed9c0ca2c0d73 Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Sun, 17 Jul 2011 23:13:06 +0400 Subject: [PATCH] var for target variable --- scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 53d25f4..78bcf78 100755 --- a/scripts/script.js +++ b/scripts/script.js @@ -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;