Skip to content

Commit

Permalink
Fixes issue with IE sometimes, introduced in 60dbf49
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoshdean committed Nov 8, 2013
1 parent 6893dbf commit 1d2231d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/jquery/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ steal('jquery', 'can/util/can.js', 'can/util/array/each.js', "can/util/inserted"
callback = args[cbIndex];

args[cbIndex] = function(elem) {
var isFragment = elem.nodeType === Node.DOCUMENT_FRAGMENT_NODE,
var isFragment = elem.nodeType === 11, //Node.DOCUMENT_FRAGMENT_NODE,
targets = isFragment ? can.makeArray(elem.childNodes) : [elem],
ret = callback.apply(this, arguments);
can.inserted(targets);
Expand Down

0 comments on commit 1d2231d

Please sign in to comment.