diff --git a/platypush/backend/http/static/js/widgets/music.js b/platypush/backend/http/static/js/widgets/music.js index dc8e6838c..4d73dcdf8 100644 --- a/platypush/backend/http/static/js/widgets/music.js +++ b/platypush/backend/http/static/js/widgets/music.js @@ -142,6 +142,10 @@ $(document).ready(function() { }; var refreshPlaybackStatus = function(status) { + if (!status) { + return; + } + if ('volume' in status) { $volumeElement.text(status.volume + '%'); }