From 51c28077859b206e01d5612a7c2ea20b5f5f5f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacio=20S=C3=A1nchez?= Date: Tue, 15 Nov 2016 08:44:33 +0100 Subject: [PATCH] Return the slider controller Return the slider controller to allow developers to control the slider from outside, and allow them to create custom paginations --- source/jquery.slides.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/jquery.slides.js b/source/jquery.slides.js index f5b2d27..779da15 100644 --- a/source/jquery.slides.js +++ b/source/jquery.slides.js @@ -192,7 +192,7 @@ if (this.options.play.auto) { this.play(); } - return this.options.callback.loaded(this.options.start); + return this.options.callback.loaded(this.options.start, a); }; Plugin.prototype._setActive = function(number) { var $element, current;