aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-05-13 04:01:57 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-05-13 04:01:57 +0000
commita34a1a599bf84e3cbf189d6c4afb2d025649398c (patch)
tree8a2ee70f75b369fc4a798f7285759cc3eef0b19c /src/jquery/jquery.js
parent009033bb4566079c1f5006ca0e4521ad64117cd0 (diff)
downloadjquery-a34a1a599bf84e3cbf189d6c4afb2d025649398c.tar.gz
jquery-a34a1a599bf84e3cbf189d6c4afb2d025649398c.zip
Fix for #1163
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index 6fb1d5d1d..8ef706204 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -176,7 +176,7 @@ jQuery.fn = jQuery.prototype = {
// HANDLE: $(arraylike)
// Watch for when an array-like object is passed as the selector
- (a.jquery || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) ||
+ (a.jquery || a.length && a != window && (!a.nodeType || (jQuery.browser.msie && a.elements)) && a[0] != undefined && a[0].nodeType) && jQuery.makeArray( a ) ||
// HANDLE: $(*)
[ a ] );