From 38a4f347e43c5ce00586fd2847eac599183dc6e3 Mon Sep 17 00:00:00 2001 From: Tomas Sardyha Date: Fri, 19 Apr 2013 17:53:09 +0200 Subject: [PATCH] Fixing to() function ignoring immediate argument, closes #46 --- src/sly.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sly.js b/src/sly.js index 78e8537..b31137d 100644 --- a/src/sly.js +++ b/src/sly.js @@ -593,7 +593,7 @@ } if (item === undefined) { - slideTo(pos[location]); + slideTo(pos[location], immediate); } else { // You can't align items to sides of the frame // when centered navigation type is enabled