From 421b9abc7d0a31f6ad707802ef0cecf6946d81c7 Mon Sep 17 00:00:00 2001 From: NovapaX Date: Wed, 21 Mar 2018 18:20:14 +0100 Subject: [PATCH] fix media-player source selection loop (#1012) --- src/dialogs/more-info/controls/more-info-media_player.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs/more-info/controls/more-info-media_player.html b/src/dialogs/more-info/controls/more-info-media_player.html index 0e028e2551..7eb30e48d8 100644 --- a/src/dialogs/more-info/controls/more-info-media_player.html +++ b/src/dialogs/more-info/controls/more-info-media_player.html @@ -266,7 +266,7 @@ supportsPlay: (newVal.attributes.supported_features & 16384) !== 0, }; if (newVal.attributes.source_list !== undefined) { - props.sourceIndex = newVal.attributes.source_list.indexOf(this.source); + props.sourceIndex = newVal.attributes.source_list.indexOf(props.source); } this.setProperties(props); }