Skip to content

Commit

Permalink
update for jquery 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mobz committed Sep 28, 2011
1 parent e125e06 commit a5aee6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jquery-nohtml.js
Expand Up @@ -91,12 +91,12 @@
var clean = $.clean,
init = $.fn.init;

$.clean = function( elems, context, fragment ) {
$.clean = function( elems, context, fragment, scripts ) {
for(var i = 0; i < elems.length; i++) {
if( elems[i].tag )
elems[i] = create( elems[i], null, context );
}
return clean( elems, context, fragment );
return clean( elems, context, fragment, scripts );
};

$.fn.init = function( selector, context, rootjQuery ) {
Expand Down

0 comments on commit a5aee6d

Please sign in to comment.