From 6ba3548b9feebd4990a6e749a6f5301eb2b22a7c Mon Sep 17 00:00:00 2001 From: David Seifried Date: Thu, 23 Jun 2011 14:39:08 -0400 Subject: [PATCH] [#565] Fixed positioning error --- plugins/subtitle/popcorn.subtitle.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/subtitle/popcorn.subtitle.js b/plugins/subtitle/popcorn.subtitle.js index a8e9177..4ed0f86 100755 --- a/plugins/subtitle/popcorn.subtitle.js +++ b/plugins/subtitle/popcorn.subtitle.js @@ -27,7 +27,7 @@ createDefaultContainer = Popcorn.nop; var updatePosition = function() { - + var position = context.position(); // the video element must have height and width defined style.fontSize = "18px"; style.width = media.offsetWidth + "px"; @@ -39,7 +39,6 @@ var ctxContainer = context.container = document.createElement( "div" ), style = ctxContainer.style, - position = context.position(), media = context.media; ctxContainer.id = "subtitlediv"; -- 2.43.0