From f5786f413f0f8bb265297ea99d79732f7f19c662 Mon Sep 17 00:00:00 2001 From: Nikita Bernstein Date: Sat, 30 Jun 2012 15:32:33 -0400 Subject: Liked by now displayed in relation to the width of the device. --- Resources/friendship/ui/LikeList.js | 4 ++-- 1 file 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 ) ; -- cgit v1.2.3