summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/bg/js/translator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/translator.js b/ext/bg/js/translator.js
index 30bc92c1..d19c6375 100644
--- a/ext/bg/js/translator.js
+++ b/ext/bg/js/translator.js
@@ -122,7 +122,7 @@ class Translator {
const rl2 = v2.rules.length;
if (rl1 < rl2) {
return -1;
- } else if (rl2 > rl1) {
+ } else if (rl1 > rl2) {
return 1;
}