')))
- .appendTo(that.$element);
+ .appendTo(that);
} else {
self.$positionMarker = $('
')
.addClass('OxMarkerPosition')
.attr({
src: Ox.UI.getImageURL('markerPosition')
})
- .appendTo(that.$element);
+ .appendTo(that);
}
setPositionMarker();
@@ -135,7 +135,7 @@ Ox.SmallVideoTimeline = function(options, self) {
.attr({
src: Ox.UI.getImageURL('marker' + titlecase)
})
- .appendTo(that.$element);
+ .appendTo(that);
setPointMarker(point);
});
}
diff --git a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js
index 355e5a60..901bb5f0 100644
--- a/source/Ox.UI/js/Video/SmallVideoTimelineImage.js
+++ b/source/Ox.UI/js/Video/SmallVideoTimelineImage.js
@@ -125,7 +125,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
width: self.options.width + 'px',
height: self.imageHeight + 'px'
})
- .appendTo(that.$element);
+ .appendTo(that);
self.$results = $('
')
.attr({
@@ -137,7 +137,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
width: self.options.width + 'px',
height: self.imageHeight + 'px'
})
- .appendTo(that.$element);
+ .appendTo(that);
self.$selection = $('
')
.attr({
@@ -149,7 +149,7 @@ Ox.SmallVideoTimelineImage = function(options, self) {
width: self.options.width + 'px',
height: self.imageHeight + 'px'
})
- .appendTo(that.$element);
+ .appendTo(that);
function getImageURL(image, callback) {
var width = image == 'results' || image == 'selection'
diff --git a/source/Ox.UI/js/Video/VideoEditorPlayer.js b/source/Ox.UI/js/Video/VideoEditorPlayer.js
index f3230989..6487e965 100644
--- a/source/Ox.UI/js/Video/VideoEditorPlayer.js
+++ b/source/Ox.UI/js/Video/VideoEditorPlayer.js
@@ -65,12 +65,12 @@ Ox.VideoEditorPlayer = function(options, self) {
height: self.options.height + 'px',
width: self.options.width + 'px'
})
- .appendTo(that.$element)
+ .appendTo(that);
}
self.$subtitle = $('
')
.addClass('OxSubtitle')
- .appendTo(that.$element);
+ .appendTo(that);
setSubtitleSize();
@@ -101,7 +101,7 @@ Ox.VideoEditorPlayer = function(options, self) {
})
)
.hide()
- .appendTo(that.$element);
+ .appendTo(that);
self.$markerPoint = {};
['in', 'out'].forEach(function(point, i) {
@@ -114,7 +114,7 @@ Ox.VideoEditorPlayer = function(options, self) {
src: Ox.UI.PATH + 'png/videoMarker' + titleCase + '.png'
})
.hide()
- .appendTo(that.$element);
+ .appendTo(that);
if (self.options.points[i] == self.options.position) {
self.$markerPoint[point][edge].show();
}
diff --git a/source/Ox.UI/js/Video/VideoElement.js b/source/Ox.UI/js/Video/VideoElement.js
index 52894708..7305037c 100644
--- a/source/Ox.UI/js/Video/VideoElement.js
+++ b/source/Ox.UI/js/Video/VideoElement.js
@@ -157,7 +157,7 @@ Ox.VideoElement = function(options, self) {
autoplay: 'autoplay'
} : {}))
.hide()
- .appendTo(that.$element);
+ .appendTo(that);
});
item.videos = item.$videos.map(function($video) {
return $video[0];
@@ -168,7 +168,7 @@ Ox.VideoElement = function(options, self) {
background: 'rgb(0, 0, 0)',
opacity: 0
})
- .appendTo(that.$element);
+ .appendTo(that);
return item;
}
diff --git a/source/Ox.UI/js/Video/VideoPlayer.js b/source/Ox.UI/js/Video/VideoPlayer.js
index 0da8ad08..810345ba 100644
--- a/source/Ox.UI/js/Video/VideoPlayer.js
+++ b/source/Ox.UI/js/Video/VideoPlayer.js
@@ -361,7 +361,7 @@ Ox.VideoPlayer = function(options, self) {
.css({
top: self.options.externalControls && self.options.controlsTop.length ? '16px' : 0
})
- .appendTo(that.$element)
+ .appendTo(that)
if (self.options.type == 'play') {
@@ -585,7 +585,7 @@ Ox.VideoPlayer = function(options, self) {
opacity: self.options.externalControls ? 1 : 0
})
.css(edge, 0)
- .appendTo(that.$element);
+ .appendTo(that);
self.options['controls' + titleCase].forEach(function(control) {
@@ -844,7 +844,7 @@ Ox.VideoPlayer = function(options, self) {
})
.appendTo(self['$controls' + titleCase]);
- self.$settings = renderSettings().appendTo(that.$element);
+ self.$settings = renderSettings().appendTo(that);
} else if (control == 'size') {
@@ -974,7 +974,7 @@ Ox.VideoPlayer = function(options, self) {
.css({
top: self.options.controlsTop.length ? '16px' : 0
})
- .appendTo(that.$element);
+ .appendTo(that);
self.$results = Ox.Element({
tooltip: 'Results'
@@ -1081,7 +1081,7 @@ Ox.VideoPlayer = function(options, self) {
.css({
bottom: self.options.controlsBottom.length ? '16px' : 0
})
- .appendTo(that.$element);
+ .appendTo(that);
self.$hideVolumeButton = Ox.Button({
style: 'symbol',
diff --git a/source/Ox.UI/js/Video/VideoPreview.js b/source/Ox.UI/js/Video/VideoPreview.js
index 1c11abd9..178818e2 100644
--- a/source/Ox.UI/js/Video/VideoPreview.js
+++ b/source/Ox.UI/js/Video/VideoPreview.js
@@ -50,7 +50,7 @@ Ox.VideoPreview = function(options, self) {
self.$frameElement = $('
')
.addClass('OxFrame')
- .appendTo(that.$element)
+ .appendTo(that);
self.$frame = $('
')
.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', {
diff --git a/source/Ox.UI/js/Window/Dialog.js b/source/Ox.UI/js/Window/Dialog.js
index b51cb922..f7e7c1d4 100644
--- a/source/Ox.UI/js/Window/Dialog.js
+++ b/source/Ox.UI/js/Window/Dialog.js
@@ -576,7 +576,7 @@ Ox.Dialog = function(options, self) {
borderBottomLeftRadius: '8px',
borderBottomRightRadius: '8px'
})
- .appendTo(that.$element);
+ .appendTo(that);
!isImage && self.$content.append(
self.options.content.css(self.hasButtons ? {} : {
borderBottomLeftRadius: '8px',