mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-06-28 15:37:07 -04:00
Merge pull request #33 from seedboxtech/master
fix: Regression bug with the initial source selection
This commit is contained in:
commit
b69792f8d4
1 changed files with 1 additions and 3 deletions
|
@ -60,9 +60,7 @@ module.exports = function(videojs) {
|
||||||
if (this.selectedSrc !== src) {
|
if (this.selectedSrc !== src) {
|
||||||
this.selectedSrc = src;
|
this.selectedSrc = src;
|
||||||
_.each(this.items, function(item) {
|
_.each(this.items, function(item) {
|
||||||
if (item.source.src !== src) {
|
item.selected(item.source.src === src);
|
||||||
item.selected(item.source.src === src);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue