From bc7e7c4f88fa1f028e54bfaa8771e2546d1ac93e Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 15 Jun 2012 14:44:46 +0000 Subject: [PATCH] no need to pass exact frame to getSequence --- static/js/pandora/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 7549fed62..10acc0333 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -634,10 +634,10 @@ pandora.getItemFind = function(find) { pandora.getItemIdAndPosition = function() { var selected, ret, ui = pandora.user.ui; function getIdAndPositionByClipId(clipId) { - var fps = 25, split = clipId.replace('-', '/').split('/'); + var split = clipId.replace('-', '/').split('/'); return { id: split[0], - position: Math.ceil(parseFloat(split[1]) * fps) / fps + position: parseFloat(split[1]) }; } function getIdAndPositionByItemId(itemId) {