From c6610b239bcf93fed9c743765baeb9b719c374bb Mon Sep 17 00:00:00 2001 From: Winangel Date: Fri, 11 Jul 2014 16:36:08 +0200 Subject: [PATCH] set selective to true in selectivePlay In playPause method the selectivePlay should set this.$selective to true instead of this.$autoplay. --- src/directive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/directive.js b/src/directive.js index 353e5a9..3e88cbc 100644 --- a/src/directive.js +++ b/src/directive.js @@ -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) {