From 98b7c45920b9904776a9a3ac90e0142f28924c35 Mon Sep 17 00:00:00 2001 From: "Keith D. Moore" Date: Sat, 8 Nov 2014 20:38:31 -0600 Subject: [PATCH] Add missing call to $scope.onSnapBack(); --- ionic.tdcards.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ionic.tdcards.js b/ionic.tdcards.js index d954f3a..7a832bf 100644 --- a/ionic.tdcards.js +++ b/ionic.tdcards.js @@ -319,6 +319,11 @@ leftText.style.opacity = Math.max(leftText.style.opacity - leftText.style.opacity * v, 0); }) .start(); + + $timeout(function() { + $scope.onSnapBack(); + }); + /* animateSpringViaCss(el, 0, 0.5, 50, 700, 10, function (x) { return el.style.transform = el.style.webkitTransform = 'translate3d(' + x + 'px,0,0)';