dont set widht to 0 for videos that are exactly one hour

This commit is contained in:
j 2012-06-15 17:20:17 +02:00
parent 94355eb792
commit e443888eba

View file

@ -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);