From a2c42711281d6ec61b73190b47743f79143c5bb1 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 31 Mar 2011 01:19:07 -0700 Subject: ignore jqLite#append for doc fragment this is needed to be compatible with jqQuery 1.5.1 --- src/jqLite.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/jqLite.js') diff --git a/src/jqLite.js b/src/jqLite.js index d16ce19e..6539aaab 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -342,7 +342,8 @@ forEach({ append: function(element, node) { forEach(new JQLite(node), function(child){ - element.appendChild(child); + if (element.nodeType === 1) + element.appendChild(child); }); }, -- cgit v1.2.3