( elem, content )
| 5632 | |
| 5633 | // Prefer a tbody over its parent table for containing new rows |
| 5634 | function manipulationTarget( elem, content ) { |
| 5635 | if ( nodeName( elem, "table" ) && |
| 5636 | nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { |
| 5637 | |
| 5638 | return jQuery( ">tbody", elem )[ 0 ] || elem; |
| 5639 | } |
| 5640 | |
| 5641 | return elem; |
| 5642 | } |
| 5643 | |
| 5644 | // Replace/restore the type attribute of script elements for safe DOM manipulation |
| 5645 | function disableScript( elem ) { |
no test coverage detected
searching dependent graphs…