From c9c9ffba088b3589cd0e93b128c4e13609471815 Mon Sep 17 00:00:00 2001 From: yudingling Date: Fri, 21 Aug 2015 13:06:05 +0800 Subject: [PATCH] TransitionEffect error when content is also a step object TransitionEffect error when content is also a step object --- src/privates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/privates.js b/src/privates.js index 95362ce..1215998 100644 --- a/src/privates.js +++ b/src/privates.js @@ -1133,7 +1133,7 @@ function saveCurrentStateToCookie(wizard, options, state) function startTransitionEffect(wizard, options, state, index, oldIndex, doneCallback) { - var stepContents = wizard.find(".content > .body"), + var stepContents = wizard.children(".content").children('.body'), effect = getValidEnumValue(transitionEffect, options.transitionEffect), effectSpeed = options.transitionEffectSpeed, newStep = stepContents.eq(index), @@ -1240,4 +1240,4 @@ function validateArgument(argumentName, argumentValue) { throwError("The argument '{0}' is null or undefined.", argumentName); } -} \ No newline at end of file +}