From cf3d611bacab706214e82476d8383f77ef85b135 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 16 May 2011 20:17:22 +0200 Subject: [PATCH] fix bug with spacer in bottom controls --- source/Ox.UI/js/Video/Ox.VideoPlayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/Ox.VideoPlayer.js b/source/Ox.UI/js/Video/Ox.VideoPlayer.js index 0a3c0cf2..0adce8fa 100644 --- a/source/Ox.UI/js/Video/Ox.VideoPlayer.js +++ b/source/Ox.UI/js/Video/Ox.VideoPlayer.js @@ -1335,7 +1335,7 @@ Ox.VideoPlayer = function(options, self) { self.iconSize = Math.max(Math.round(self.height / 10), 16), self.iconLeft = parseInt((self.width - self.iconSize) / 2), self.iconTop = parseInt((self.height - self.iconSize) / 2); - if (self.$timeline || self.$space) { + if (self.$timeline || self.$spaceBottom) { self.timelineWidth = self.width - self.options.controlsBottom.reduce(function(prev, curr) { return prev + (