Fix for #921
This commit is contained in:
parent
44599e174b
commit
7820594c66
2 changed files with 4 additions and 1 deletions
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -824,7 +824,9 @@ jQuery.fn = jQuery.prototype = {
|
|||
*/
|
||||
clone: function(deep) {
|
||||
return this.pushStack( jQuery.map( this, function(a){
|
||||
return a.cloneNode( deep != undefined ? deep : true );
|
||||
var a = a.cloneNode( deep != undefined ? deep : true );
|
||||
a.$events = null; // drop $events expando to avoid firing incorrect events
|
||||
return a;
|
||||
}) );
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue