OSDN Git Service

Version 0.6.210, add Android browser PC mode detection.
[pettanr/clientJs.git] / 0.6.x / js / 02_dom / 20_XNode.js
index f09db3a..d80b855 100644 (file)
@@ -1110,7 +1110,7 @@ function X_Node_html( html ){
                if( !this[ '_tag' ] ) return this[ 'text' ]( html );
                
                this[ 'empty' ]();
-               if( html ){
+               if( html += '' ){
                        X_Node_append.apply( this, X_HtmlParser_parse( html, true ) );
                };
                return this;