From 6b3d36c36d9a1c2da3e338ef7802c77b5fd82167 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 31 Jan 2013 20:53:07 -0800 Subject: when did the ago-time div get renamed? I don't remember doing that. --- 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 67b4c777e..458fc5e87 100644 --- a/js/main.js +++ b/js/main.js @@ -352,7 +352,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + prev).after($(this)); - $("div.wall-item-ago-time").timeago(); + $("div.wall-item-ago").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. @@ -364,7 +364,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + ident).replaceWith($(this)); - $("div.wall-item-ago-time").timeago(); + $("div.wall-item-ago").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -381,7 +381,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#threads-end').before($(this)); - $("div.wall-item-ago-time").timeago(); + $("div.wall-item-ago").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -390,7 +390,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + ident).replaceWith($(this)); - $("div.wall-item-ago-time").timeago(); + $("div.wall-item-ago").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } }); @@ -409,7 +409,7 @@ function updateConvItems(mode,data) { $(this).attr('src',$(this).attr('dst')); }); $('#' + prev).after($(this)); - $("div.wall-item-ago-time").timeago(); + $("div.wall-item-ago").timeago(); // $("div.wall-item-body").divgrow({ initialHeight: 400 }); } @@ -899,7 +899,7 @@ jQuery.timeago.settings.strings = { }; -$("div.wall-item-ago-time").timeago(); +$("div.wall-item-ago").timeago(); //$("div.wall-item-body").divgrow({ initialHeight: 400 }); //reCalcHeight(); -- cgit v1.2.3