diff --git a/build/jquery.steps.js b/build/jquery.steps.js index 9929e76..2b01b44 100644 --- a/build/jquery.steps.js +++ b/build/jquery.steps.js @@ -1440,11 +1440,13 @@ $.fn.steps.remove = function (index) * * @method setStep * @param index {Integer} An integer that belongs to the position of a step - * @param step {Object} The step object to change **/ -$.fn.steps.setStep = function (index, step) +$.fn.steps.setStep = function (index) { - throw new Error("Not yet implemented!"); + var options = getOptions(this), + state = getState(this); + + return goToStep(this, options, state, index); }; /** @@ -2027,4 +2029,4 @@ $.fn.extend({ return this.attr("id", id); } }); -})(jQuery); \ No newline at end of file +})(jQuery);