diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-12-17 18:45:19 -0800 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-12-17 18:45:19 -0800 |
commit | d98f4566bc856e04f2f6a7d9a7bf49e30867551e (patch) | |
tree | 121da470c382bbd5c3ee58ae3879e49735d82c2d /ext/bg/js/util.js | |
parent | 5c94923264475b08c5b6b3bf37829dec146dd7de (diff) |
WIP
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r-- | ext/bg/js/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index 3ec80350..dc606a73 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -84,8 +84,8 @@ function sortTermDefs(definitions) { return 1; } - const rl1 = v1.rules.length; - const rl2 = v2.rules.length; + const rl1 = v1.reasons.length; + const rl2 = v2.reasons.length; if (rl1 < rl2) { return -1; } else if (rl1 > rl2) { |