Skip to content

Commit

Permalink
order selected balls
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexChien committed Jul 4, 2016
1 parent 62f5fd8 commit 6793abc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/templates/dcolorball/dcolorball.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ <h5>{{'game.bet_amount'|translate}}</h5>

<div layout="row" layout-align="center center" layout-padding>
<div class="red-numbers" layout="row">
<div ng-repeat="i in selections.red track by i" class="ball-wrapper">
<div ng-repeat="i in selections.red | orderBy:'toString()' track by i" class="ball-wrapper">
<div class="ball-red" v="{{i}}">{{i}}</div>
</div>
</div>
<div class="blue-numbers" layout="row">
<div ng-repeat="i in selections.blue track by i" class="ball-wrapper">
<div ng-repeat="i in selections.blue | orderBy:'toString()' track by i" class="ball-wrapper">
<div class="ball-blue" v="{{i}}">{{i}}</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/scolorball/scolorball.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ <h5>{{'game.bet_amount'|translate}}</h5>

<div layout="row" layout-align="center center" layout-padding>
<div class="red-numbers" layout="row">
<div ng-repeat="i in selections.red track by i" class="ball-wrapper">
<div ng-repeat="i in selections.red | orderBy:'toString()' track by i" class="ball-wrapper">
<div class="ball-red" v="{{i}}">{{i}}</div>
</div>
</div>
<div class="blue-numbers" layout="row">
<div ng-repeat="i in selections.blue track by i" class="ball-wrapper">
<div ng-repeat="i in selections.blue | orderBy:'toString()' track by i" class="ball-wrapper">
<div class="ball-blue" v="{{i}}">{{i}}</div>
</div>
</div>
Expand Down

0 comments on commit 6793abc

Please sign in to comment.