aboutsummaryrefslogtreecommitdiffstats
path: root/Resources/friendship/ui/LikeList.js
diff options
context:
space:
mode:
authorAnqi Xu2012-06-30 16:36:01 -0400
committerAnqi Xu2012-06-30 16:36:01 -0400
commitaeec38e371ad32d60e741cc8d1456b5666dc0ef0 (patch)
treee9405ce94cdd8b46b89b368e216fcce7bc46594b /Resources/friendship/ui/LikeList.js
parent312bbc90926d9a2d01a9c6f5a071ef20c90068e6 (diff)
parent067fb3de7c22dab2df94061523bcb05575591d56 (diff)
downloadLikeFeed-aeec38e371ad32d60e741cc8d1456b5666dc0ef0.tar.bz2
Merge branch 'master' of github.com:teddywing/LikeFeed
Conflicts: build.log
Diffstat (limited to 'Resources/friendship/ui/LikeList.js')
-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 227972d..39f71cf 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 ) ;