summaryrefslogtreecommitdiff
path: root/ext/bg
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-23 11:49:52 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-02-23 11:49:52 -0500
commit53220af68eabdda27b35224056f3bd589e8c4785 (patch)
tree4e0addbefe23729bcf867ac7cec2f99a5aff839e /ext/bg
parentf463e2e238b1616d58bf254ecb53de8b0dae6573 (diff)
Don't use innerHTML
Diffstat (limited to 'ext/bg')
-rw-r--r--ext/bg/js/search-query-parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/search-query-parser.js b/ext/bg/js/search-query-parser.js
index 8c434990..0d4aaa50 100644
--- a/ext/bg/js/search-query-parser.js
+++ b/ext/bg/js/search-query-parser.js
@@ -164,7 +164,7 @@ class QueryParser extends TextScanner {
}
renderParserSelect() {
- this.queryParserSelect.innerHTML = '';
+ this.queryParserSelect.textContent = '';
if (this.parseResults.length > 1) {
const select = this.queryParserGenerator.createParserSelect(this.parseResults, this.selectedParser);
select.addEventListener('change', this.onParserChange.bind(this));