diff options
Diffstat (limited to 'ext/bg/js/util.js')
-rw-r--r-- | ext/bg/js/util.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/util.js b/ext/bg/js/util.js index 3fa01a10..19d08a7c 100644 --- a/ext/bg/js/util.js +++ b/ext/bg/js/util.js @@ -116,7 +116,7 @@ function groupTermDefs(definitions) { const tagCounts = {}; for (const tag of groupDefs.map(def => def.tags)) { - const count = tagsGlobal[tag.name] || 0; + const count = tagCounts[tag.name] || 0; tagCounts[tag.name] = count + 1; } |