diff --git a/core/manipulate-dom.js b/core/manipulate-dom.js index a52f5e0d..18ed55c3 100644 --- a/core/manipulate-dom.js +++ b/core/manipulate-dom.js @@ -116,11 +116,10 @@ manipulateDOM._removeCrossOriginAndIntegrityAttr = function (details) { data.push(chunk); }; - if (decoder === undefined) { - decoder = new TextDecoder(charset); - } - filter.onstop = () => { + if (decoder === undefined) { + decoder = new TextDecoder(charset); + } let str = ''; for (let buffer of data) { str += decoder.decode(buffer, {'stream': true}); diff --git a/pages/updates/updates.html b/pages/updates/updates.html index b2c78351..8eec026c 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -25,9 +25,9 @@
Fixed/p>