MCPcopy Index your code
hub / github.com/jquery/jquery / manipulationTarget

Function manipulationTarget

dist-module/jquery.factory.module.js:5442–5450  ·  view source on GitHub ↗
( elem, content )

Source from the content-addressed store, hash-verified

5440
5441// Prefer a tbody over its parent table for containing new rows
5442function manipulationTarget( elem, content ) {
5443 if ( nodeName( elem, "table" ) &&
5444 nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
5445
5446 return jQuery( elem ).children( "tbody" )[ 0 ] || elem;
5447 }
5448
5449 return elem;
5450}
5451
5452function cloneCopyEvent( src, dest ) {
5453 var type, i, l,

Callers 1

jQueryFactoryWrapperFunction · 0.70

Calls 2

nodeNameFunction · 0.70
jQueryFunction · 0.70

Tested by

no test coverage detected