temp fix to appendTo to load in firefox

This commit is contained in:
j 2014-08-23 16:26:08 +02:00
parent aaf76e0a52
commit 83f02ee417

View file

@ -114,6 +114,9 @@ Ox.$ = Ox.element = function(value) {
object <o> Another DOM object
@*/
appendTo: function appendTo($other) {
//FIXME: temp fix
$other[0].appendChild(this[0]);
return this;
$other.forEach(function(otherElement) {
elements.forEach(function(element) {
otherElement.appendChild(element);