diff --git a/js/push.js b/js/push.js index d971573..e454337 100644 --- a/js/push.js +++ b/js/push.js @@ -326,9 +326,9 @@ enter = /in$/.test(transition); if (transition === 'fade') { - container.classList.add('in'); - container.classList.add('fade'); + swap.classList.add('in'); swap.classList.add('fade'); + container.classList.add('fade'); } if (/slide/.test(transition)) {