From a0b3f06fab760e74d44f75bf98b18e5a14735224 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 11 Feb 2013 12:59:41 +0530 Subject: [PATCH] update video preview tooltip --- static/js/pandora/info.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/info.js b/static/js/pandora/info.js index 3c21a63ee..aa2ecac11 100644 --- a/static/js/pandora/info.js +++ b/static/js/pandora/info.js @@ -98,7 +98,9 @@ pandora.ui.info = function() { return ( pandora.user.ui.item && ['timeline', 'player', 'editor'].indexOf(pandora.user.ui.itemView) > -1 - ) ? 'Go to Position' : 'Open in ' + Ox.getObjectById( + ) ? 'Go to Position' : ( + pandora.user.ui.item ? 'Switch to' : 'Open in' + ) + Ox.getObjectById( pandora.site.itemViews, pandora.user.ui.videoView ).title + ' View';