forked from 0x2620/oxjs
fix for the actual safari bug ('for i in arguments' doesn't work in safari)
This commit is contained in:
parent
70d17f3321
commit
feef0a2568
2 changed files with 6 additions and 5 deletions
|
|
@ -12,9 +12,6 @@ Ox.Container = function(options, self) {
|
|||
that.$content = new Ox.Element({})
|
||||
.options(options || {})
|
||||
.addClass('OxContent')
|
||||
/*.appendTo(that)*/;
|
||||
that.append(that.$content);
|
||||
// FIXME: that.append(that.$content) works, but
|
||||
// that.$content.appendTo(that) is broken in Safari
|
||||
.appendTo(that);
|
||||
return that;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue