diff --git a/media/iphone/Classes/StoryDetailViewController.m b/media/iphone/Classes/StoryDetailViewController.m index 1f4589f2c..34d400147 100644 --- a/media/iphone/Classes/StoryDetailViewController.m +++ b/media/iphone/Classes/StoryDetailViewController.m @@ -200,6 +200,7 @@ } comments = [comments stringByAppendingString:[NSString stringWithFormat:@""]]; } + return comments; } @@ -226,6 +227,7 @@ [user objectForKey:@"username"], [commentDict objectForKey:@"comments"], [self getReplies:[commentDict objectForKey:@"replies"]]]; + return comment; } @@ -238,10 +240,13 @@ NSDictionary *user = [self getUser:[[reply_dict objectForKey:@"user_id"] intValue]]; NSString *reply = [NSString stringWithFormat:@ "
" - "" - "
%@
" - "
%@ ago
" - "
%@
" + " " + "
%@
" + "
%@ ago
" + "
" + "
edit
" + "
" + "
%@
" "
", [user objectForKey:@"photo_url"], [user objectForKey:@"username"], diff --git a/media/iphone/storyDetailView.js b/media/iphone/storyDetailView.js index a5a874247..a878d172e 100644 --- a/media/iphone/storyDetailView.js +++ b/media/iphone/storyDetailView.js @@ -1,8 +1,8 @@ -$('img').each(function() { +$('.NB-story img').each(function() { setImage(this); }); -$('img').bind('load', function() { +$('.NB-story img').bind('load', function() { setImage(this); });