Skip to content

Commit

Permalink
Merge pull request #45 from Winangel/patch-1
Browse files Browse the repository at this point in the history
fix inverse logic in selectivePlay parameter
  • Loading branch information
Valerio Coltrè committed Jul 11, 2014
2 parents 05502bd + c6610b2 commit c1e08c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ angular.module('mediaPlayer', ['mediaPlayer.helpers'])
index = undefined;
}
if (selectivePlay) {
this.$autoplay = true;
this.$selective = true;
}

if (typeof index === 'number' && index + 1 !== this.currentTrack) {
Expand Down

0 comments on commit c1e08c6

Please sign in to comment.