aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-12-30 08:57:08 +1100
committerRedMatrix <info@friendica.com>2014-12-30 08:57:08 +1100
commitd1d4cec932c23c2b42eb77e2734b71a2e80f6772 (patch)
tree0cb21ffd6e1021aad35f8fafe7fe00d1168cbd6a
parentca8b31b989d2dfb5b1a139c1f757651ed55291b1 (diff)
parent345943d48fc407732716e94abd961b25be1af889 (diff)
downloadvolse-hubzilla-d1d4cec932c23c2b42eb77e2734b71a2e80f6772.tar.gz
volse-hubzilla-d1d4cec932c23c2b42eb77e2734b71a2e80f6772.tar.bz2
volse-hubzilla-d1d4cec932c23c2b42eb77e2734b71a2e80f6772.zip
Merge pull request #787 from pafcu/mainjsfix
Only call autotime() on the correct elements
-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 104718436..8c48bbb72 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;