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)
This commit is contained in:
parent
98fb2ec639
commit
bb70223509
@ -62,6 +62,9 @@ $(document).ready(function() {
|
||||
numbers : aStr['t17'],
|
||||
};
|
||||
|
||||
//mod_mail only
|
||||
$(".mail-conv-detail .autotime").timeago();
|
||||
|
||||
savedTitle = document.title;
|
||||
|
||||
updateInit();
|
||||
|
@ -1,5 +1,4 @@
|
||||
$(document).ready(function() {
|
||||
$(".autotime").timeago();
|
||||
$("#recip").name_autocomplete(baseurl + '/acl', 'm', false, function(data) {
|
||||
$("#recip-complete").val(data.xid);
|
||||
});
|
||||
|
Reference in New Issue
Block a user