From a4972b62a603ee1d63cf17ea41d412e8c717f8ab Mon Sep 17 00:00:00 2001 From: Philip Hadviger Date: Mon, 10 Mar 2014 22:12:41 -0700 Subject: [PATCH] fix data-transition="fade" --- js/push.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {