fixed code style

This commit is contained in:
Dennis Karpienski 2016-04-11 22:28:52 +02:00
parent bc03090e8a
commit 9197d358d2

View File

@ -166,12 +166,12 @@ export default new Polymer({
this.callService('media_next_track');
},
handleSourceChanged(source) {
handleSourceChanged(sourceInput) {
// Selected Option will transition to '' before transitioning to new value
if (source === '' || source === this.stateObj.attributes.source) {
if (sourceInput === '' || sourceInput === this.stateObj.attributes.source) {
return;
}
this.callService('select_source', { source: source });
this.callService('select_source', { source: sourceInput });
},
handleVolumeTap() {