aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2014-12-29 20:02:56 +0100
committerStefan Parviainen <saparvia@caterva.eu>2014-12-29 20:02:56 +0100
commit345943d48fc407732716e94abd961b25be1af889 (patch)
tree056686ebe66a18396a1a2ac7715ef1a7966d9bce /view/js/main.js
parent0b79445b575fa303e464aceb092a2653dd67a6ad (diff)
downloadvolse-hubzilla-345943d48fc407732716e94abd961b25be1af889.tar.gz
volse-hubzilla-345943d48fc407732716e94abd961b25be1af889.tar.bz2
volse-hubzilla-345943d48fc407732716e94abd961b25be1af889.zip
Only call autotime() on the correct elements
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js10
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;