aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Bernstein2012-06-30 15:32:33 -0400
committerNikita Bernstein2012-06-30 15:33:53 -0400
commitf5786f413f0f8bb265297ea99d79732f7f19c662 (patch)
treea70943ff14a128b140dce9e56450eacf4f7b98a8
parentda85341083eff69c129c35ba5c6839d1d0e06036 (diff)
downloadLikeFeed-f5786f413f0f8bb265297ea99d79732f7f19c662.tar.bz2
Liked by now displayed in relation to the width of the device.
-rw-r--r--Resources/friendship/ui/LikeList.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Resources/friendship/ui/LikeList.js b/Resources/friendship/ui/LikeList.js
index 9e7f872..4f16c47 100644
--- a/Resources/friendship/ui/LikeList.js
+++ b/Resources/friendship/ui/LikeList.js
@@ -141,8 +141,8 @@
height:'auto'
});
- liked_by.left = 320 - liked_by.width;
-
+ liked_by.left = Ti.Platform.displayCaps.platformWidth - liked_by.width - Ti.Platform.displayCaps.platformWidth / 170;
+
key.description = key.description.replace(/<(?:.|\n)*?>/gm, '');
if( key.description.indexOf('.') > 0 ){
key.description = key.description.substr( 0, key.description.indexOf('.') + 1 ) ;