aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Resources/friendship/ui/LikeList.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index 663af81..93a7814 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -76,7 +76,7 @@
});
var fan_c = Ti.UI.createLabel({
- text: addCommas(key.fan_count),
+ text: addCommas( (key.fan_count >= 10000000) ? Math.round((key.fan_count / 1000000)) + 'M' : key.fan_count ),
font:{fontSize:10,fontWeight:'bold'},
//color:'#3b5997',
color:'white',