diff options
| author | Nikita Bernstein | 2012-06-30 15:32:33 -0400 |
|---|---|---|
| committer | Nikita Bernstein | 2012-06-30 15:33:53 -0400 |
| commit | f5786f413f0f8bb265297ea99d79732f7f19c662 (patch) | |
| tree | a70943ff14a128b140dce9e56450eacf4f7b98a8 | |
| parent | da85341083eff69c129c35ba5c6839d1d0e06036 (diff) | |
| download | LikeFeed-f5786f413f0f8bb265297ea99d79732f7f19c662.tar.bz2 | |
Liked by now displayed in relation to the width of the device.
| -rw-r--r-- | Resources/friendship/ui/LikeList.js | 4 |
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 ) ; |
