diff options
author | hackademix | 2018-07-28 14:37:18 +0200 |
---|---|---|
committer | hackademix | 2018-07-28 14:37:18 +0200 |
commit | d64e48027516fda420f1f4c5696d35ebaf810866 (patch) | |
tree | a08df61d1a64e5fecd4d11259e24ad0b1423ded5 | |
parent | 3eb5be743d2eb0e5cb28cb6bded526ff5bd258d1 (diff) | |
download | noscript-d64e48027516fda420f1f4c5696d35ebaf810866.tar.gz noscript-d64e48027516fda420f1f4c5696d35ebaf810866.tar.xz noscript-d64e48027516fda420f1f4c5696d35ebaf810866.zip |
Fixed random stallings on page transitions.
-rw-r--r-- | src/bg/RequestUtil.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestUtil.js b/src/bg/RequestUtil.js index a5af09e..d6d3300 100644 --- a/src/bg/RequestUtil.js +++ b/src/bg/RequestUtil.js @@ -130,7 +130,7 @@ debug(`Marking as "must reload"`, tabId, url); reloadingTabs.set(tabKey(tabId, url), true); } - if (buffer && buffer.length) { + if (buffer) { debug("Flushing %s buffer chunks on %s", buffer.length, url); for (let chunk of buffer) { filter.write(chunk); |