aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-03 11:19:22 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-03 11:19:22 +0100
commit43d80901825b95d881d4e072a9bd0898b0b8ab16 (patch)
tree10db0177f99292b695bc07ee92123ba79febd6db /view
parentd13dae6b060ad1147426ae88791cac5970ab3b03 (diff)
downloadvolse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.gz
volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.tar.bz2
volse-hubzilla-43d80901825b95d881d4e072a9bd0898b0b8ab16.zip
timeago() works best with iso format. fix #118
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
-rw-r--r--view/js/mod_mail.js1
-rwxr-xr-xview/tpl/prv_message.tpl2
3 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js
index acdc2e5f5..fd03802c5 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -1156,7 +1156,6 @@ $(document).ready(function() {
numbers : aStr['t17'],
};
- $(".autotime").timeago();
$("#toc").toc();
});
diff --git a/view/js/mod_mail.js b/view/js/mod_mail.js
index 36b22138f..561df7229 100644
--- a/view/js/mod_mail.js
+++ b/view/js/mod_mail.js
@@ -2,4 +2,5 @@ $(document).ready(function() {
$("#recip").name_autocomplete(baseurl + '/acl', '', false, function(data) {
$("#recip-complete").val(data.xid);
});
+ $(".autotime").timeago()
});
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl
index b0ea8b753..20f5df39a 100755
--- a/view/tpl/prv_message.tpl
+++ b/view/tpl/prv_message.tpl
@@ -31,7 +31,7 @@
<div class="form-group">
<label for="prvmail-text">{{$yourmessage}}</label>
- <textarea class="form-control" id="prvmail-text" name="body"">{{$text}}</textarea>
+ <textarea class="form-control" id="prvmail-text" name="body">{{$text}}</textarea>
</div>
<div id="prvmail-submit-wrapper" class="form-group">