Apply suggestions from code review
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
parent
d3ee7b68fb
commit
ea8a2d5549
1 changed files with 1 additions and 3 deletions
|
@ -442,9 +442,7 @@ import 'emby-input';
|
|||
position = (position / runtime) * 100;
|
||||
}
|
||||
|
||||
for (let i = 0, length = ranges.length; i < length; i++) {
|
||||
const range = ranges[i];
|
||||
|
||||
for (const range of ranges) {
|
||||
if (position != null) {
|
||||
if (position >= range.end) {
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue