forked from 0x2620/pandora
fix a bug in statistics dialog
This commit is contained in:
parent
31533bcb62
commit
0ee64f9186
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ pandora.ui.statisticsDialog = function() {
|
||||||
['system', 'browser'].forEach(function(key) {
|
['system', 'browser'].forEach(function(key) {
|
||||||
var version = item[key];
|
var version = item[key];
|
||||||
if (version) {
|
if (version) {
|
||||||
name[key] = getName(version);
|
name[key] = getName(key, version);
|
||||||
if (name[key]) {
|
if (name[key]) {
|
||||||
data[mode][key][name[key]] = (data[mode][key][name[key]] || 0) + 1;
|
data[mode][key][name[key]] = (data[mode][key][name[key]] || 0) + 1;
|
||||||
key = key + 'version';
|
key = key + 'version';
|
||||||
|
|
Loading…
Reference in a new issue