diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-05-09 14:33:28 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-05-09 14:33:28 -0700 |
commit | 5359ea983e5bca134748733457283781d49ea5fe (patch) | |
tree | 4f9c597748b0903e248459da7443e882713cdd50 /ext/bg/js | |
parent | b2f508898c90e0c3d545d3ab52519c8506d61526 (diff) |
Fixing term ordering bug
Diffstat (limited to 'ext/bg/js')
-rw-r--r-- | ext/bg/js/translator.js | 2 |
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; } |