diff options
author | friendica <info@friendica.com> | 2013-01-05 16:37:32 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-01-05 16:37:32 -0800 |
commit | f01d785aaeb13c1d790e196f01aa44433ee5f6b1 (patch) | |
tree | c64a4273023b9b7811feb6a4939594cb05a9af7a /js | |
parent | 472a9057316063b556981d5049cc678232a36dbb (diff) | |
download | volse-hubzilla-f01d785aaeb13c1d790e196f01aa44433ee5f6b1.tar.gz volse-hubzilla-f01d785aaeb13c1d790e196f01aa44433ee5f6b1.tar.bz2 volse-hubzilla-f01d785aaeb13c1d790e196f01aa44433ee5f6b1.zip |
fix timeago updates, reset unseen counts on channel page, don't set nav selected on profile page
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 12 |
1 files changed, 6 insertions, 6 deletions
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(); |