Commit f07e6758 authored by Oleg's avatar Oleg

Simplify execution of script element if it processed without src attribute

parent d086aa16
......@@ -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, "" ) );
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment