Skip to content

Commit 336fea8

Browse files
author
Rafael J. Staib
committed
Add a working version
1 parent 01d441f commit 336fea8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/publics.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ $.fn.steps.insert = function (index, step)
115115
var options = this.data("options"),
116116
state = this.data("state");
117117

118-
return privates.insertStep(this, options, state, state.stepCount, step);
118+
return privates.insertStep(this, options, state, index, step);
119119
};
120120

121121
/**

test/tests.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*jshint -W024 */
12
/*jshint -W117 */
23

34
module("general");

0 commit comments

Comments
 (0)