mirror of
https://github.com/jquery/jquery.git
synced 2026-01-27 11:27:56 -05:00
Simplify execution of script element if it processed without src attribute
This commit is contained in:
@@ -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, "" ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user