mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-08-13 15:38:59 +08:00
Update env_maker.js
This commit is contained in:
parent
86a3250404
commit
c49eae4f20
@ -1492,6 +1492,16 @@ function v_hook_getElement(e){
|
||||
e[_y].childNodes[0] = r
|
||||
e[_y].firstChild = r
|
||||
}
|
||||
if (!x){
|
||||
x = /^ *< *([A-Za-z]+) *[^>]+> *$/.exec(ihtml)
|
||||
if (x[1]){
|
||||
var r = document[_y].createElement(x[1])
|
||||
_odt(r, 'innerHTML', {get: function(){return ''}})
|
||||
e[_y].children[0] = r
|
||||
e[_y].childNodes[0] = r
|
||||
e[_y].firstChild = r
|
||||
}
|
||||
}
|
||||
return ihtml
|
||||
}})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user