forked from 0x2620/pandora
use Ox.break
This commit is contained in:
parent
ad3e54997a
commit
ba1ca42bd7
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ pandora.getVideoPartsAndPoints = function(durations, points) {
|
||||||
Ox.loop(parts - 1, -1, -1, function(i) {
|
Ox.loop(parts - 1, -1, -1, function(i) {
|
||||||
if (offsets[i] <= point) {
|
if (offsets[i] <= point) {
|
||||||
ret.parts[i] = i;
|
ret.parts[i] = i;
|
||||||
return false;
|
Ox.break();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue