mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Simplify execution of script element if it processed without src attribute
This commit is contained in:
parent
d086aa16b3
commit
f07e6758ae
@ -330,7 +330,7 @@ jQuery.fn.extend({
|
|||||||
"throws": true
|
"throws": true
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
jQuery.globalEval( ( node.text || node.textContent || node.innerHTML || "" ).replace( rcleanScript, "" ) );
|
jQuery.globalEval( node.textContent.replace( rcleanScript, "" ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user