From 960f97d21d83df1a856d52b7d7a075f120690cfb Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 19 Feb 2012 08:02:11 +0000 Subject: [PATCH] typo --- static/js/pandora/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/utils.js b/static/js/pandora/utils.js index 9941bc45..4ce03bd7 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -793,7 +793,7 @@ pandora.getVideoOptions = function(data) { var canPlayClips = data.editable || pandora.site.capabilities.canPlayClips[pandora.user.level] >= data.rightslevel, canPlayVideo = data.editable || pandora.site.capabilities.canPlayVideo[pandora.user.level] >= data.rightslevel, options = {}; - options.subtitles = Ox.getObject(data.layers, 'isSubtitle', true) || []).map(function(subtitle) { + options.subtitles = (Ox.getObject(data.layers, 'isSubtitle', true) || []).map(function(subtitle) { return {'in': subtitle['in'], out: subtitle.out, text: subtitle.value}; }); options.censored = canPlayVideo ? []