X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=0.6.x%2Fjs%2Fdom%2F11_XDomNode.js;fp=0.6.x%2Fjs%2Fdom%2F11_XDomNode.js;h=d04c661a8172b192532b69ffa6d890146d2d3dfd;hb=c2184d5500fe31de24e248c9cdf92b31e547fd0c;hp=11bb2eb16aea5046e322aac3fc4ca4fe49bffa0f;hpb=d4cf457f9a13887b99bf76b70f431bb99faed9b4;p=pettanr%2FclientJs.git diff --git a/0.6.x/js/dom/11_XDomNode.js b/0.6.x/js/dom/11_XDomNode.js index 11bb2eb..d04c661 100644 --- a/0.6.x/js/dom/11_XDomNode.js +++ b/0.6.x/js/dom/11_XDomNode.js @@ -1258,7 +1258,7 @@ Node.prototype._actualRemove = X.Dom.DOM_IE4 ? ( function( isChild ){ var xnodes = this._xnodes, - elm = this._rawNode || this._xnodeType === 1 && this._ie4getRawNode(), + elm = this._rawNode || this._ie4getRawNode(), i, l, xnode; if( xnodes && ( l = xnodes.length ) ){ for( i = 0; i < l; ++i ){ @@ -1273,7 +1273,7 @@ Node.prototype._actualRemove = this._attrs.value = elm.value; }; elm.removeAttribute( 'id' ); // ? - document.all[ this._id || ( 'ie4uid' + this._uid ) ] = null; // ? + document.all[ this._id || ( 'ie4uid' + this._uid ) ] = null; // MacIE5 でエラー if( !isChild ) elm.outerHTML = ''; delete this._rawNode; }) :