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 11:00:33 +0200
commit73d67bb16a0b28de93ed93fe598d1a5a75747bcd (patch)
tree9dc40d3484584bbfbb5283ad0326dfb82c4895b2 /view
parentae62d3081173078885e3f1323e324d2797995027 (diff)
downloadvolse-hubzilla-73d67bb16a0b28de93ed93fe598d1a5a75747bcd.tar.gz
volse-hubzilla-73d67bb16a0b28de93ed93fe598d1a5a75747bcd.tar.bz2
volse-hubzilla-73d67bb16a0b28de93ed93fe598d1a5a75747bcd.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();
+ }
});