Commit 96bb9563 authored by Vadim Makeev's avatar Vadim Makeev

var for target variable

parent 9f91bf40
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
} }
function turnSlide(e) { function turnSlide(e) {
var current = slideList.indexOf(url.hash.substr(1)); var current = slideList.indexOf(url.hash.substr(1)), target;
if(e) { if(e) {
if(e.type == 'keydown') { if(e.type == 'keydown') {
var prevent = true; var prevent = true;
......
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