1
0
Fork 0
forked from 0x2620/oxjs

fix for safari/jquery bug

This commit is contained in:
rolux 2011-05-11 18:33:19 +02:00
commit 70d17f3321
4 changed files with 17 additions and 9 deletions

View file

@ -9,9 +9,12 @@ Ox.Container = function(options, self) {
var that = new Ox.Element({}, self)
.options(options || {})
.addClass('OxContainer');
that.$content = new Ox.Element({}, self)
that.$content = new Ox.Element({})
.options(options || {})
.addClass('OxContent')
.appendTo(that);
/*.appendTo(that)*/;
that.append(that.$content);
// FIXME: that.append(that.$content) works, but
// that.$content.appendTo(that) is broken in Safari
return that;
};