summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-05-09 14:33:28 -0700
committerAlex Yatskov <alex@foosoft.net>2016-05-09 14:33:28 -0700
commit5359ea983e5bca134748733457283781d49ea5fe (patch)
tree4f9c597748b0903e248459da7443e882713cdd50 /ext
parentb2f508898c90e0c3d545d3ab52519c8506d61526 (diff)
Fixing term ordering bug
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;
}