From 5359ea983e5bca134748733457283781d49ea5fe Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Mon, 9 May 2016 14:33:28 -0700 Subject: Fixing term ordering bug --- ext/bg/js/translator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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; } -- cgit v1.2.3