fix icon status change not working bug
This commit is contained in:
parent
2083019fd9
commit
f34cf219f7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user