fix platform/browser parsing

This commit is contained in:
rolux 2013-07-30 17:03:27 +00:00
parent 37220515af
commit bdc88d4022
2 changed files with 5 additions and 5 deletions

View file

@ -18,8 +18,8 @@ pandora.ui.statisticsDialog = function() {
'RIM Tablet OS': [64, 64, 64],
'Unix': [255, 255, 0],
'Wii': [192, 192, 192],
'Windows': [0, 0, 255],
'Windows Phone': [0, 0, 128]
'Windows Phone': [0, 0, 128], // has to be before 'Windows'
'Windows': [0, 0, 255]
},
browser: {
'Camino': [192, 192, 192],

View file

@ -5,7 +5,7 @@
pandora.ui.usersDialog = function() {
var browsers = [
'Camino', 'Chrome', 'Chrome Frame', 'Chromium', 'Epiphany',
'Camino', 'Chrome Frame', 'Chrome', 'Chromium', 'Epiphany',
'Firefox', 'Internet Explorer', 'Konqueror', 'Nokia Browser',
'Opera', 'Safari', 'WebKit'
],
@ -15,8 +15,8 @@ pandora.ui.usersDialog = function() {
numberOfUsers = 0,
systems = [
'Android', 'BlackBerry', 'BSD', 'iOS', 'Java', 'Linux', 'Mac OS X',
'Nokia', 'PlayStation', 'RIM Tablet OS', 'Unix', 'Wii', 'Windows',
'Windows Phone'
'Nokia', 'PlayStation', 'RIM Tablet OS', 'Unix', 'Wii',
'Windows Phone', 'Windows'
],
userLevels = pandora.site.userLevels.map(function(userLevel) {
return Ox.toTitleCase(userLevel);