1
0
Fork 0
forked from 0x2620/oxjs

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

@ -37,7 +37,7 @@ Ox.MainMenu = function(options, self) {
if (self.options.extras.length) {
that.extras = $('<div>')
.addClass('OxExtras')
.appendTo(that.$element);
.appendTo(that);
self.options.extras.forEach(function(extra) {
extra.css({
float: 'left' // fixme: need class!
@ -52,7 +52,7 @@ Ox.MainMenu = function(options, self) {
.data('position', position);
if (position == 0) {
if (that.titles.length == 1) {
that.titles[position].appendTo(that.$element);
that.titles[position].appendTo(that);
} else {
that.titles[position].insertBefore(that.titles[1]);
}