aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2020-04-14 21:13:46 +0300
committersiikamiika <siikamiika@users.noreply.github.com>2020-04-14 21:13:46 +0300
commita02cf28c5775bdd72f209b46e9974768e5c5db71 (patch)
tree1803eeaaa56c9b32323f73803a252ed9df9486c4
parent6cc87ec9753d7482af2ff75bed2d405f7c31c072 (diff)
break after switch default
-rw-r--r--ext/bg/js/search-query-parser-generator.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bg/js/search-query-parser-generator.js b/ext/bg/js/search-query-parser-generator.js
index 527302ed..9e7ff8aa 100644
--- a/ext/bg/js/search-query-parser-generator.js
+++ b/ext/bg/js/search-query-parser-generator.js
@@ -80,6 +80,7 @@ class QueryParserGenerator {
break;
default:
optionContainer.textContent = 'Unrecognized dictionary';
+ break;
}
optionContainer.defaultSelected = selectedParser === parseResult.id;
selectContainer.appendChild(optionContainer);