Fix sonarjs no-collapsible-if
This commit is contained in:
parent
ccdbf0bfc3
commit
1f4e65822b
33 changed files with 330 additions and 473 deletions
|
@ -443,10 +443,8 @@ import '../emby-input/emby-input';
|
|||
}
|
||||
|
||||
for (const range of ranges) {
|
||||
if (position != null) {
|
||||
if (position >= range.end) {
|
||||
continue;
|
||||
}
|
||||
if (position != null && position >= range.end) {
|
||||
continue;
|
||||
}
|
||||
|
||||
setRange(elem, range.start, range.end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue