Bug Tracker

Ticket #4833: isXml.patch

File isXml.patch, 462 bytes (added by anotherhero, 11 years ago)
  • jquery-1.3.2.js

     
    23362336};
    23372337
    23382338var isXML = function(elem){
    2339         return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
     2339        return elem.nodeType === 9 && elem.documentElement && elem.documentElement.nodeName !== "HTML" ||
    23402340                !!elem.ownerDocument && isXML( elem.ownerDocument );
    23412341};
    23422342