diff options
author | RedMatrix <info@friendica.com> | 2014-12-30 08:57:08 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-12-30 08:57:08 +1100 |
commit | d1d4cec932c23c2b42eb77e2734b71a2e80f6772 (patch) | |
tree | 0cb21ffd6e1021aad35f8fafe7fe00d1168cbd6a /view | |
parent | ca8b31b989d2dfb5b1a139c1f757651ed55291b1 (diff) | |
parent | 345943d48fc407732716e94abd961b25be1af889 (diff) | |
download | volse-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
Diffstat (limited to 'view')
-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 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; |