Skip to content

Commit 6fdebbb

Browse files
committed
Update jquery.steps.js
1 parent 7ad48a1 commit 6fdebbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.steps.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@
335335
anchor.click();
336336

337337
// An error occured
338-
if (oldIndex == state.currentIndex && isDisabled)
338+
if (oldIndex === state.currentIndex && isDisabled)
339339
{
340340
// Add the class again to disable the anchor; avoid click action.
341341
anchor.parent().addClass("disabled");

0 commit comments

Comments
 (0)