aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-10-12 10:59:19 +0200
committerMario Vavti <mario@mariovavti.com>2016-10-12 10:59:19 +0200
commit050c0752f9d9c1bb7710a27b3732a37e91f179d6 (patch)
treec276994b44b2b6ff805f7b392cad5ec7273e3fe0 /view
parent205bc968273530cbbe425d9f350ffb6eeb592f6d (diff)
downloadvolse-hubzilla-050c0752f9d9c1bb7710a27b3732a37e91f179d6.tar.gz
volse-hubzilla-050c0752f9d9c1bb7710a27b3732a37e91f179d6.tar.bz2
volse-hubzilla-050c0752f9d9c1bb7710a27b3732a37e91f179d6.zip
fix connected time not shown on ajax loaded connections
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
-rw-r--r--view/js/mod_connections.js12
2 files changed, 7 insertions, 6 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 0239fc1f8..5435dfd87 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -854,6 +854,7 @@ function pageUpdate() {
scroll_next = false;
updatePageItems(update_mode,data);
$("#page-spinner").spin(false);
+ $(".autotime").timeago();
in_progress = false;
});
}
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js
index 112204a5a..68add4eed 100644
--- a/view/js/mod_connections.js
+++ b/view/js/mod_connections.js
@@ -4,13 +4,13 @@ $(document).ready(function() {
});
$("#contacts-search").keyup(function(event){
- if(event.keyCode == 13){
- $("#contacts-search").click();
- }
+ if(event.keyCode == 13){
+ $("#contacts-search").click();
+ }
});
$(".autocomplete-w1 .selected").keyup(function(event){
- if(event.keyCode == 13){
- $("#contacts-search").click();
- }
+ if(event.keyCode == 13){
+ $("#contacts-search").click();
+ }
});