Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #12 from franzks/master
Browse files Browse the repository at this point in the history
Fixed bug where a blank card is displayed
  • Loading branch information
Yvonne Yip committed Jul 16, 2014
2 parents e18d5bf + 2960293 commit d83b11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/music.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
selectedAlbum: null,

transition: function(e) {
if (this.page === 0) {
if (this.page === 0 && e.target.templateInstance.model.item) {
this.selectedAlbum = e.target.templateInstance.model.item;
this.page = 1;
} else {
Expand Down

0 comments on commit d83b11b

Please sign in to comment.