Bug Tracker

Changes between Initial Version and Version 1 of Ticket #14290, comment 3


Ignore:
Timestamp:
Aug 30, 2013, 7:59:20 AM (6 years ago)
Author:
jordifebrer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14290, comment 3

    initial v1  
    33Possible fix is:
    44
    5  function manipulationTarget( elem, content ) {
     5 
     6{{{
     7function manipulationTarget( elem, content ) {
    68   return jQuery.nodeName( elem, "table" ) &&
    79-    jQuery.nodeName( content.nodeType === 1 ? content : content.firstChild, "tr" ) ?
    8 +    jQuery.nodeName( ( content.nodeType === 1 || content.firstChild === null ) ? content : content.firstChild, "tr" )
     10+    jQuery.nodeName( ( content.nodeType === 1 || content.firstChild === null ) ? content : content.firstChild, "tr" )
     11}}}
     12