From e761ee692d4442a122f5058df9a6b629c2cc5e32 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 4 Oct 2015 18:13:06 +0100 Subject: [PATCH] fix copy clip --- static/js/mainMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index 6482857fd..6f394ff82 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -415,7 +415,7 @@ pandora.ui.mainMenu = function() { type = 'clip', clips; fromMenu = true; function formatClip(clip) { - return clip.annotation || clip.item + '/' + clip['in'] + '-' + clip.out; + return clip.annotation || (clip.item||ui.item) + '/' + clip['in'] + '-' + clip.out; } if (pandora.isVideoView() && !pandora.$ui.browser.hasFocus()) { clips = [formatClip(ui.videoPoints[ui.item])];