fix: fixed playlist controls and view state, fixes #9639

This commit is contained in:
Patrick O'Carroll
2017-10-24 10:43:48 +02:00
parent e91b00c355
commit 8afb84a5e5
3 changed files with 5 additions and 2 deletions

View File

@@ -31,8 +31,8 @@ function (_, $, coreModule) {
}
});
$scope.$watch('playlistSrv', function(newValue) {
elem.toggleClass('playlist-active', _.isObject(newValue));
$scope.$watch('playlistSrv.isPlaying', function(newValue) {
elem.toggleClass('playlist-active', newValue);
});
}
};