Change the rules about when to show the subscribe dialog

This commit is contained in:
Joseph Schorr 2013-11-15 18:58:47 -05:00
parent 4efc5968c6
commit b6be962bf3
2 changed files with 27 additions and 17 deletions

View file

@ -14,8 +14,7 @@
<span class="not-found" ng-show="!currentCard.last4">No credit card found</span>
</div>
<button class="btn" ng-class="currentCard.last4 ? 'btn-default' : 'btn-primary'"
ng-show="currentCard && !changingCard" ng-click="changeCard()">
<button class="btn btn-primary" ng-show="currentCard && !changingCard" ng-click="changeCard()">
Change Credit Card
</button>
</div>