回答編集履歴
1
説明不足かもしれなかったので少し足しました
answer
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
カスタマイズは自己責任でお願いします
|
2
|
+
とりあえず、可読しやすくしておいたので読んでみてください
|
3
|
+
|
4
|
+
```js
|
1
5
|
/*!
|
2
6
|
* jQuery Steps v1.1.0 - 09/04/2014
|
3
7
|
* Copyright (c) 2014 Rafael Staib (http://www.jquery-steps.com)
|
@@ -270,4 +274,5 @@
|
|
270
274
|
|
271
275
|
function H(a, b, c, d) {
|
272
276
|
return 0 > d || d >= c.stepCount || c.currentIndex === d ? !1 : (I(a, d), c.currentIndex > d && (c.currentIndex--, O(a, b, c)), c.stepCount--, l(a, d).remove(), k(a, d).remove(), j(a, d).parent().remove(), 0 === d && a.find(".steps li").first().addClass("first"), d === c.stepCount && a.find(".steps li").eq(d).addClass("last"), F(a, b, c, d), D(a, b, c), !0)
|
273
|
-
}
|
277
|
+
}
|
278
|
+
```
|