use Ox.break

This commit is contained in:
rolux 2012-05-22 16:31:25 +00:00
parent ad3e54997a
commit ba1ca42bd7

View file

@ -885,7 +885,7 @@ pandora.getVideoPartsAndPoints = function(durations, points) {
Ox.loop(parts - 1, -1, -1, function(i) {
if (offsets[i] <= point) {
ret.parts[i] = i;
return false;
Ox.break();
}
});
});