From 3ed52b2939a8f708da808396294747967bb5eefa Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 18 Feb 2014 07:54:38 +0000 Subject: [PATCH] in info video preview, only set position on click, don't reset in/out --- static/js/info.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/info.js b/static/js/info.js index dce4a128..af1ef636 100644 --- a/static/js/info.js +++ b/static/js/info.js @@ -115,8 +115,8 @@ pandora.ui.info = function() { .bindEvent({ click: function(data) { pandora.UI.set( - 'videoPoints.' + id, - {'in': 0, out: 0, position: data.position} + 'videoPoints.' + id + '.position', + data.position ); if (ui.item && ['timeline', 'player', 'editor'].indexOf(ui.itemView) > -1) { pandora.$ui[ui.itemView].options({