aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_mail.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-07-13 11:00:37 +0200
committerMario Vavti <mario@mariovavti.com>2018-07-13 11:00:37 +0200
commitbb7022350943c6f049641d50d28cb99caf019b83 (patch)
tree5a71ac96d41f04704e6bbd4d1dbe439854486665 /view/js/mod_mail.js
parent98fb2ec639c907ff7b232c6a99db26a757f540c8 (diff)
downloadvolse-hubzilla-bb7022350943c6f049641d50d28cb99caf019b83.tar.gz
volse-hubzilla-bb7022350943c6f049641d50d28cb99caf019b83.tar.bz2
volse-hubzilla-bb7022350943c6f049641d50d28cb99caf019b83.zip
when calling timeago() from mod_mail.js it is called before the translations are applied - move the call to main.js and be more specific with the selector to not trigger calls for other modules (eg network) which is handled elsewhere to not be to much of an performance hog (to many dates at a time)
Diffstat (limited to 'view/js/mod_mail.js')
-rw-r--r--view/js/mod_mail.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
index e3c891c2c..917e5414c 100644
--- a/view/js/mod_mail.js
+++ b/view/js/mod_mail.js
@@ -1,5 +1,4 @@
$(document).ready(function() {
- $(".autotime").timeago();
$("#recip").name_autocomplete(baseurl + '/acl', 'm', false, function(data) {
$("#recip-complete").val(data.xid);
});