diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index d14b2481..2433e842 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -59,7 +59,7 @@ pandora.ui.item = function() { : Ox.range(0, result.data.duration - 5, 60).map(function(position) { return { 'in': position + 5, - out: Math.max(position + 60, result.data.duration) + out: Math.min(position + 60, result.data.duration) }; }) )