appendTo(that.$element) -> appendTo(that)
This commit is contained in:
parent
a6b0907cdc
commit
244591d57e
13 changed files with 37 additions and 37 deletions
|
|
@ -50,7 +50,7 @@ Ox.VideoPreview = function(options, self) {
|
|||
|
||||
self.$frameElement = $('<div>')
|
||||
.addClass('OxFrame')
|
||||
.appendTo(that.$element)
|
||||
.appendTo(that);
|
||||
|
||||
self.$frame = $('<img>')
|
||||
.attr({src: self.options.getFrame(self.options.position)})
|
||||
|
|
@ -62,7 +62,7 @@ Ox.VideoPreview = function(options, self) {
|
|||
.addClass('OxTimeline')
|
||||
.attr({src: self.options.timeline})
|
||||
.css({width: self.options.width + 'px'})
|
||||
.appendTo(that.$element);
|
||||
.appendTo(that);
|
||||
}
|
||||
|
||||
self.$interface = Ox.Element({
|
||||
|
|
@ -86,7 +86,7 @@ Ox.VideoPreview = function(options, self) {
|
|||
self.$frame.attr({src: self.options.getFrame(self.options.position)});
|
||||
}
|
||||
})
|
||||
.appendTo(that.$element);
|
||||
.appendTo(that);
|
||||
|
||||
function click(e) {
|
||||
that.triggerEvent('click', {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue