appendTo(that.$element) -> appendTo(that)

This commit is contained in:
rolux 2012-06-26 18:21:39 +02:00
commit 244591d57e
13 changed files with 37 additions and 37 deletions

View file

@ -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', {