fix video preview tooltip layout
This commit is contained in:
parent
c0e4dc6e01
commit
e002e2a566
1 changed files with 4 additions and 2 deletions
|
@ -75,8 +75,10 @@ Ox.VideoPreview = function(options, self) {
|
|||
self.timeout = setTimeout(function() {
|
||||
self.$frame.attr({src: self.options.getFrame(position)});
|
||||
}, 250);
|
||||
return (self.options.tooltip ? self.options.tooltip + '<br>' : '')
|
||||
+ Ox.formatDuration(position, 2);
|
||||
return '<div style="text-align: center>"'
|
||||
+ (self.options.tooltip ? self.options.tooltip + '<br>' : '')
|
||||
+ Ox.formatDuration(position, 2)
|
||||
+ '</div>';
|
||||
}
|
||||
})
|
||||
.addClass('OxInterface')
|
||||
|
|
Loading…
Reference in a new issue