temp fix to appendTo to load in firefox
This commit is contained in:
parent
aaf76e0a52
commit
83f02ee417
1 changed files with 3 additions and 0 deletions
|
@ -114,6 +114,9 @@ Ox.$ = Ox.element = function(value) {
|
||||||
object <o> Another DOM object
|
object <o> Another DOM object
|
||||||
@*/
|
@*/
|
||||||
appendTo: function appendTo($other) {
|
appendTo: function appendTo($other) {
|
||||||
|
//FIXME: temp fix
|
||||||
|
$other[0].appendChild(this[0]);
|
||||||
|
return this;
|
||||||
$other.forEach(function(otherElement) {
|
$other.forEach(function(otherElement) {
|
||||||
elements.forEach(function(element) {
|
elements.forEach(function(element) {
|
||||||
otherElement.appendChild(element);
|
otherElement.appendChild(element);
|
||||||
|
|
Loading…
Reference in a new issue