Merge pull request #33 from seedboxtech/master

fix: Regression bug with the initial source selection
This commit is contained in:
Jeremy Thomerson 2019-06-13 14:07:42 -05:00 committed by GitHub
commit b69792f8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -60,9 +60,7 @@ module.exports = function(videojs) {
if (this.selectedSrc !== src) {
this.selectedSrc = src;
_.each(this.items, function(item) {
if (item.source.src !== src) {
item.selected(item.source.src === src);
}
item.selected(item.source.src === src);
});
}
},