From f01d785aaeb13c1d790e196f01aa44433ee5f6b1 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 5 Jan 2013 16:37:32 -0800 Subject: fix timeago updates, reset unseen counts on channel page, don't set nav selected on profile page --- js/main.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'js') diff --git a/js/main.js b/js/main.js index 86f0601b5..684a1d154 100644 --- a/js/main.js +++ b/js/main.js @@ -330,7 +330,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + prev).after($(this)); - $("abbr.wall-item-ago-time").timeago(); + $("div.wall-item-ago-time").timeago(); // divgrow doesn't prevent itself from attaching a second (or 500th) // "show more" div to a content region - it also has a few other // issues related to how we're trying to use it. @@ -342,7 +342,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + ident).replaceWith($(this)); - $("abbr.wall-item-ago-time").timeago(); + $("div.wall-item-ago-time").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -359,7 +359,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#threads-end').before($(this)); - $("abbr.wall-item-ago-time").timeago(); + $("div.wall-item-ago-time").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -368,7 +368,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + ident).replaceWith($(this)); - $("abbr.wall-item-ago-time").timeago(); + $("div.wall-item-ago-time").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } }); @@ -387,7 +387,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + prev).after($(this)); - $("abbr.wall-item-ago-time").timeago(); + $("div.wall-item-ago-time").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -884,7 +884,7 @@ jQuery.timeago.settings.strings = { }; -$("abbr.wall-item-ago-time").timeago(); +$("div.wall-item-ago-time").timeago(); //$("div.wall-item-body").divgrow({ initialHeight: 400 }); //reCalcHeight(); -- cgit v1.2.3