fix icon status change not working bug

This commit is contained in:
Listen 1 2018-02-16 00:19:02 +08:00
parent 2083019fd9
commit f34cf219f7

View File

@ -826,10 +826,10 @@
$scope.$on('music:isPlaying', function(event, data) {
if (data) {
$rootScope.page_title = '▶' + $rootScope.page_title.slice(1);
$rootScope.page_title = '▶ ' + $rootScope.page_title.slice($rootScope.page_title.indexOf(' '));
}
else {
$rootScope.page_title = '❚❚' + $rootScope.page_title.slice(1);
$rootScope.page_title = '❚❚ ' + $rootScope.page_title.slice($rootScope.page_title.indexOf(' '));
};
if (!lastfm.isAuthorized()) {
return;