aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorDeathamns <deathamns@gmail.com>2015-01-13 20:25:10 +0100
committerDeathamns <deathamns@gmail.com>2015-01-13 20:25:10 +0100
commitbcc1c0da11f161280b3d2d1cc607403368207a2e (patch)
treedf44656e58fda14cf0af0f4a4138ec42f40dc029 /platform
parent35ee7b79f8b27f7ab6d204cfd2879bf6defb4a5e (diff)
downloaduBlock-bcc1c0da11f161280b3d2d1cc607403368207a2e.zip
uBlock-bcc1c0da11f161280b3d2d1cc607403368207a2e.tar.gz
uBlock-bcc1c0da11f161280b3d2d1cc607403368207a2e.tar.bz2
Fix prorblems caused by vAPI.insertHTML
Diffstat (limited to 'platform')
-rw-r--r--platform/firefox/vapi-common.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/firefox/vapi-common.js b/platform/firefox/vapi-common.js
index 5fc3754..1e9f81c 100644
--- a/platform/firefox/vapi-common.js
+++ b/platform/firefox/vapi-common.js
@@ -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(