diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-29 20:02:56 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-29 20:02:56 +0100 |
commit | 345943d48fc407732716e94abd961b25be1af889 (patch) | |
tree | 056686ebe66a18396a1a2ac7715ef1a7966d9bce | |
parent | 0b79445b575fa303e464aceb092a2653dd67a6ad (diff) | |
download | volse-hubzilla-345943d48fc407732716e94abd961b25be1af889.tar.gz volse-hubzilla-345943d48fc407732716e94abd961b25be1af889.tar.bz2 volse-hubzilla-345943d48fc407732716e94abd961b25be1af889.zip |
Only call autotime() on the correct elements
-rw-r--r-- | view/js/main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/view/js/main.js b/view/js/main.js index f979f6b6f..51166c6cd 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -468,7 +468,7 @@ function updateConvItems(mode,data) { $('#' + prev).after($(this)); if(isVisible) showHideComments(itmId); - $(".autotime").timeago(); + $(".autotime",this).timeago(); } else { $('img',this).each(function() { @@ -479,7 +479,7 @@ function updateConvItems(mode,data) { $('#' + ident).replaceWith($(this)); if(isVisible) showHideComments(itmId); - $(".autotime").timeago(); + $(".autotime",this).timeago(); } prev = ident; }); @@ -510,7 +510,7 @@ function updateConvItems(mode,data) { $('#threads-end').before($(this)); if(isVisible) showHideComments(itmId); - $(".autotime").timeago(); + $(".autotime",this).timeago(); } else { $('img',this).each(function() { @@ -521,7 +521,7 @@ function updateConvItems(mode,data) { $('#' + ident).replaceWith($(this)); if(isVisible) showHideComments(itmId); - $(".autotime").timeago(); + $(".autotime",this).timeago(); } }); @@ -555,7 +555,7 @@ function updateConvItems(mode,data) { $('#' + prev).after($(this)); if(isVisible) showHideComments(itmId); - $(".autotime").timeago(); + $(".autotime",this).timeago(); } prev = ident; |