mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-01 18:10:17 +12:00
Fix prorblems caused by vAPI.insertHTML
This commit is contained in:
parent
618502354f
commit
829f80e1da
|
@ -77,7 +77,7 @@ vAPI.insertHTML = (function() {
|
|||
|
||||
return function(node, html) {
|
||||
while ( node.firstChild ) {
|
||||
node.removeChild(node.firstChild);
|
||||
node.removeChild(node.firstChild);
|
||||
}
|
||||
|
||||
node.appendChild(parser.parseFragment(
|
||||
|
|
Loading…
Reference in a new issue