From 8e0b88d9390a80fdf0034232bc941bff0742746d Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 19 Feb 2012 19:19:38 +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 c3c3e91a..ff9a462c 100644 --- a/static/js/pandora/utils.js +++ b/static/js/pandora/utils.js @@ -796,7 +796,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 = {}, - subtitlesLayer = Ox.getObject(pandora.site.layers, 'isSubtitle', true); + subtitlesLayer = Ox.getObject(pandora.site.layers, 'isSubtitles', true); options.subtitles = subtitlesLayer ? data.layers[subtitlesLayer.id].map(function(subtitle) { return {id: subtitle.id, 'in': subtitle['in'], out: subtitle.out, text: subtitle.value}; }) : [];