aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js')
-rw-r--r--view/js/main.js3
-rw-r--r--view/js/mod_mail.js3
2 files changed, 4 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 45c412296..17f94dd16 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -62,6 +62,9 @@ $(document).ready(function() {
numbers : aStr['t17'],
};
+ //mod_mail only
+ $(".mail-conv-detail .autotime").timeago();
+
savedTitle = document.title;
updateInit();
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
index 15a45519b..917e5414c 100644
--- a/view/js/mod_mail.js
+++ b/view/js/mod_mail.js
@@ -2,7 +2,6 @@ $(document).ready(function() {
$("#recip").name_autocomplete(baseurl + '/acl', 'm', false, function(data) {
$("#recip-complete").val(data.xid);
});
- $(".autotime").timeago()
$('#prvmail-text').bbco_autocomplete('bbcode');
- $("#prvmail-text").editor_autocomplete(baseurl+"/acl");
+ $("#prvmail-text").editor_autocomplete(baseurl+"/acl");
});