Simplify execution of script element if it processed without src attribute

This commit is contained in:
Oleg 2012-12-20 02:35:52 +04:00
parent d086aa16b3
commit f07e6758ae

View File

@ -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, "" ) );
}
}
}