Bug Tracker

Changes between Initial Version and Version 1 of Ticket #5354


Ignore:
Timestamp:
Dec 9, 2009, 11:19:46 PM (10 years ago)
Author:
dmethvin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5354 – Description

    initial v1  
    22
    33The problem lies on line 1186:
    4 contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
    5 
     4{{{
     5contents: function(elem){
     6return jQuery.nodeName(elem,"iframe")?
     7  elem.contentDocument ||  elem.contentWindow.document:
     8  jQuery.makeArray(elem.childNodes);
     9}
     10}}}
    611Perhaps it should be like this:
    7 contents: function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document||elem.document:jQuery.makeArray(elem.childNodes);}
     12{{{
     13contents: function(elem){
     14  return jQuery.nodeName(elem,"iframe")?
     15  elem.contentDocument || elem.contentWindow.document || elem.document :
     16  jQuery.makeArray(elem.childNodes);
     17}
     18}}}