Skip to content
Permalink
Browse files

Fixed the issue with jQuery conflicting with windows/IFrames.

  • Loading branch information
jeresig committed Nov 7, 2006
1 parent 83e98c2 commit ce2555ea7c265d0e08084b469d785d3d719445f6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/jquery/jquery.js
@@ -56,7 +56,7 @@ var jQuery = function(a,c) {
}

// Watch for when an array is passed in
this.get( a.constructor == Array || a.length && !a.nodeType && a[0] != undefined && a[0].nodeType ?
this.get( a.constructor == Array || a.length && a != window && !a.nodeType && a[0] != undefined && a[0].nodeType ?
// Assume that it is an array of DOM Elements
jQuery.merge( a, [] ) :

0 comments on commit ce2555e

Please sign in to comment.
You can’t perform that action at this time.