Merge pull request #4739 from matthiaskern/fix/waypoint-slides
Fix sliding out/in for all waypoint slides
This commit is contained in:
@ -1219,7 +1219,7 @@ common.init.push((function() {
|
|||||||
var prevStep = getPreviousStep($(stepClass));
|
var prevStep = getPreviousStep($(stepClass));
|
||||||
$(this)
|
$(this)
|
||||||
.parent().parent()
|
.parent().parent()
|
||||||
.removeClass('fadeOutLeft')
|
.removeClass('slideInLeft slideInRight')
|
||||||
.addClass('animated fadeOutRight fast-animation')
|
.addClass('animated fadeOutRight fast-animation')
|
||||||
.delay(250)
|
.delay(250)
|
||||||
.queue(function(prev) {
|
.queue(function(prev) {
|
||||||
@ -1227,7 +1227,7 @@ common.init.push((function() {
|
|||||||
if (prevStep) {
|
if (prevStep) {
|
||||||
$(prevStep)
|
$(prevStep)
|
||||||
.removeClass('hidden')
|
.removeClass('hidden')
|
||||||
.removeClass('slideInRight')
|
.removeClass('fadeOutLeft fadeOutRight')
|
||||||
.addClass('animated slideInLeft fast-animation')
|
.addClass('animated slideInLeft fast-animation')
|
||||||
.delay(500)
|
.delay(500)
|
||||||
.queue(function(prev) {
|
.queue(function(prev) {
|
||||||
@ -1243,7 +1243,7 @@ common.init.push((function() {
|
|||||||
var nextStep = getNextStep($(stepClass));
|
var nextStep = getNextStep($(stepClass));
|
||||||
$(this)
|
$(this)
|
||||||
.parent().parent()
|
.parent().parent()
|
||||||
.removeClass('fadeOutRight')
|
.removeClass('slideInRight slideInLeft')
|
||||||
.addClass('animated fadeOutLeft fast-animation')
|
.addClass('animated fadeOutLeft fast-animation')
|
||||||
.delay(250)
|
.delay(250)
|
||||||
.queue(function(next) {
|
.queue(function(next) {
|
||||||
@ -1251,7 +1251,7 @@ common.init.push((function() {
|
|||||||
if (nextStep) {
|
if (nextStep) {
|
||||||
$(nextStep)
|
$(nextStep)
|
||||||
.removeClass('hidden')
|
.removeClass('hidden')
|
||||||
.removeClass('slideInLeft')
|
.removeClass('fadeOutRight fadeOutLeft')
|
||||||
.addClass('animated slideInRight fast-animation')
|
.addClass('animated slideInRight fast-animation')
|
||||||
.delay(500)
|
.delay(500)
|
||||||
.queue(function(next) {
|
.queue(function(next) {
|
||||||
|
Reference in New Issue
Block a user