1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-20 02:38:53 +00:00
This commit is contained in:
Paulus Schoutsen
2016-12-04 14:45:14 -08:00
parent a767765c5b
commit 2652823d35
2 changed files with 3 additions and 3 deletions

View File

@@ -246,7 +246,7 @@ Polymer({
this.updatePlaybackPosition = this.updatePlaybackPosition.bind(this); this.updatePlaybackPosition = this.updatePlaybackPosition.bind(this);
}, },
playerObjChanged: function (playerObj, oldPlayerObj) { playerObjChanged: function (playerObj) {
var picture = playerObj.stateObj.attributes.entity_picture; var picture = playerObj.stateObj.attributes.entity_picture;
if (picture) { if (picture) {
this.$.cover.style.backgroundImage = 'url(' + picture + ')'; this.$.cover.style.backgroundImage = 'url(' + picture + ')';
@@ -266,7 +266,7 @@ Polymer({
} }
}, },
updatePlaybackPosition: function (playerObj) { updatePlaybackPosition: function () {
this.playbackPosition = this.playerObj.currentProgress; this.playbackPosition = this.playerObj.currentProgress;
}, },