Skip to content

Commit

Permalink
Simplify execution of script element if it processed without src attr…
Browse files Browse the repository at this point in the history
…ibute
  • Loading branch information
markelog committed Dec 23, 2012
1 parent d086aa1 commit f07e675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manipulation.js
Expand Up @@ -330,7 +330,7 @@ jQuery.fn.extend({
"throws": true
});
} else {
jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );
jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) );
}
}
}
Expand Down

0 comments on commit f07e675

Please sign in to comment.