fix platform/browser parsing
This commit is contained in:
parent
37220515af
commit
bdc88d4022
2 changed files with 5 additions and 5 deletions
|
@ -18,8 +18,8 @@ pandora.ui.statisticsDialog = function() {
|
||||||
'RIM Tablet OS': [64, 64, 64],
|
'RIM Tablet OS': [64, 64, 64],
|
||||||
'Unix': [255, 255, 0],
|
'Unix': [255, 255, 0],
|
||||||
'Wii': [192, 192, 192],
|
'Wii': [192, 192, 192],
|
||||||
'Windows': [0, 0, 255],
|
'Windows Phone': [0, 0, 128], // has to be before 'Windows'
|
||||||
'Windows Phone': [0, 0, 128]
|
'Windows': [0, 0, 255]
|
||||||
},
|
},
|
||||||
browser: {
|
browser: {
|
||||||
'Camino': [192, 192, 192],
|
'Camino': [192, 192, 192],
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
pandora.ui.usersDialog = function() {
|
pandora.ui.usersDialog = function() {
|
||||||
|
|
||||||
var browsers = [
|
var browsers = [
|
||||||
'Camino', 'Chrome', 'Chrome Frame', 'Chromium', 'Epiphany',
|
'Camino', 'Chrome Frame', 'Chrome', 'Chromium', 'Epiphany',
|
||||||
'Firefox', 'Internet Explorer', 'Konqueror', 'Nokia Browser',
|
'Firefox', 'Internet Explorer', 'Konqueror', 'Nokia Browser',
|
||||||
'Opera', 'Safari', 'WebKit'
|
'Opera', 'Safari', 'WebKit'
|
||||||
],
|
],
|
||||||
|
@ -15,8 +15,8 @@ pandora.ui.usersDialog = function() {
|
||||||
numberOfUsers = 0,
|
numberOfUsers = 0,
|
||||||
systems = [
|
systems = [
|
||||||
'Android', 'BlackBerry', 'BSD', 'iOS', 'Java', 'Linux', 'Mac OS X',
|
'Android', 'BlackBerry', 'BSD', 'iOS', 'Java', 'Linux', 'Mac OS X',
|
||||||
'Nokia', 'PlayStation', 'RIM Tablet OS', 'Unix', 'Wii', 'Windows',
|
'Nokia', 'PlayStation', 'RIM Tablet OS', 'Unix', 'Wii',
|
||||||
'Windows Phone'
|
'Windows Phone', 'Windows'
|
||||||
],
|
],
|
||||||
userLevels = pandora.site.userLevels.map(function(userLevel) {
|
userLevels = pandora.site.userLevels.map(function(userLevel) {
|
||||||
return Ox.toTitleCase(userLevel);
|
return Ox.toTitleCase(userLevel);
|
||||||
|
|
Loading…
Reference in a new issue