OSDN Git Service
(root)
/
pettanr
/
clientJs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 0.6.210, add Android browser PC mode detection.
[pettanr/clientJs.git]
/
0.6.x
/
js
/
02_dom
/
20_XNode.js
diff --git
a/0.6.x/js/02_dom/20_XNode.js
b/0.6.x/js/02_dom/20_XNode.js
index
f09db3a
..
d80b855
100644
(file)
--- a/
0.6.x/js/02_dom/20_XNode.js
+++ b/
0.6.x/js/02_dom/20_XNode.js
@@
-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;