aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/main.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-07 09:47:08 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-07 09:47:08 +0100
commit6f93001658e6c3a6c97f2be325622eb531104392 (patch)
tree32d19ccf2196231415f3ac42bce1729b3d6a7225 /view/js/main.js
parent48821a6da5832b5eb843503121871231f78b1103 (diff)
downloadvolse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.tar.gz
volse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.tar.bz2
volse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.zip
fix issue with IE
Diffstat (limited to 'view/js/main.js')
-rw-r--r--view/js/main.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js
index dcd04f053..ca9ad8ca4 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -239,7 +239,11 @@ function handle_comment_form(e) {
},10000);
});
- function commentSaveChanges(convId,isFinal = false) {
+ function commentSaveChanges(convId, isFinal) {
+
+ if(typeof isFinal === 'undefined')
+ isFinal = false;
+
if(auto_save_draft) {
tmp = $('#' + emptyCommentElm).val();
if(tmp) {