Permalink
Browse files

fixed bugs with music player

  • Loading branch information...
1 parent e573880 commit f5c2858e0b29971c8310012a64e000ab6883427d @ericmatthys ericmatthys committed May 10, 2012
Showing with 6 additions and 0 deletions.
  1. +2 −0 app/css/plex.css
  2. +2 −0 app/js/plex/view/AppView.js
  3. +2 −0 app/less/music.less
View
@@ -8638,6 +8638,8 @@ ul.nav .dropdown-menu:after {
overflow: hidden;
margin-top: 5px;
width: 150px;
+ font-size: 14px;
+ text-shadow: 0 1px 0 #000;
text-overflow: ellipsis;
white-space: nowrap;
}
@@ -85,6 +85,7 @@ define(
this.musicPlayerView = new MusicPlayerView({ collection: artist.get('tracks'), model: track });
this.$el.prepend(this.musicPlayerView.render().el);
} else {
+ this.musicPlayerView.collection = artist.get('tracks');
this.musicPlayerView.model = track;
}
@@ -96,6 +97,7 @@ define(
if (typeof(this.musicPlayerView) !== 'undefined') {
this.musicPlayerView.destroy();
+ this.musicPlayerView = undefined;
}
},
View
@@ -17,6 +17,8 @@
overflow: hidden;
margin-top: 5px;
width: 150px;
+ font-size: 14px;
+ text-shadow: 0 1px 0 #000;
text-overflow: ellipsis;
white-space: nowrap;
}

0 comments on commit f5c2858

Please sign in to comment.