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:
@@ -62,6 +62,9 @@ $(document).ready(function() {
|
||||
numbers : aStr['t17'],
|
||||
};
|
||||
|
||||
//mod_mail only
|
||||
$(".mail-conv-detail .autotime").timeago();
|
||||
|
||||
savedTitle = document.title;
|
||||
|
||||
updateInit();
|
||||
|
Reference in New Issue
Block a user