From e443888ebacec99c589e7eea403719f4dce25027 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 15 Jun 2012 17:20:17 +0200 Subject: [PATCH] dont set widht to 0 for videos that are exactly one hour --- source/Ox.UI/js/Video/SmallVideoTimelineImage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js index 2c486496..355e5a60 100644 --- a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js +++ b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js @@ -108,7 +108,7 @@ Ox.SmallVideoTimelineImage = function(options, self) { position: 'absolute', left: (i * 3600) + 'px', top: self.timelineTop + 'px', - width: (i == self.images - 1 ? self.imageWidth % 3600 : 3600) + 'px', + width: (i == self.images - 1 ? self.imageWidth % 3600 || 3600 : 3600) + 'px', height: '16px' }) .appendTo(that);