Skip to content

Commit

Permalink
Add missing call to $scope.onSnapBack();
Browse files Browse the repository at this point in the history
  • Loading branch information
keithdmoore committed Nov 9, 2014
1 parent 42dad1b commit 98b7c45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ionic.tdcards.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)';
Expand Down

0 comments on commit 98b7c45

Please sign in to comment.