summaryrefslogtreecommitdiff
path: root/ext/bg/js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-03 11:06:31 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-11-03 11:06:31 -0500
commit75ff05148d5a07c397d11b8bfbc92833be8726ea (patch)
treee0d4ee4e42f1dab779ce2d183e552483fcec238c /ext/bg/js
parent7de24dd355f0ab27e43509929d66c60e07e7eee4 (diff)
Fix autoHideResults not working
Diffstat (limited to 'ext/bg/js')
-rw-r--r--ext/bg/js/settings-popup-preview.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/bg/js/settings-popup-preview.js b/ext/bg/js/settings-popup-preview.js
index b7b3acc5..7d641c46 100644
--- a/ext/bg/js/settings-popup-preview.js
+++ b/ext/bg/js/settings-popup-preview.js
@@ -158,7 +158,6 @@ class SettingsPopupPreview {
const range = document.createRange();
range.selectNode(textNode);
const source = new TextSourceRange(range, range.toString(), null);
- if (source === null) { return; }
try {
await this.frontend.searchSource(source, 'script');