diff --git a/src/manipulation.js b/src/manipulation.js index f7d0f81f7..af2d8b8a6 100644 --- a/src/manipulation.js +++ b/src/manipulation.js @@ -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, "" ) ); } } }