diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-01-07 09:47:08 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-01-07 09:47:08 +0100 |
commit | 6f93001658e6c3a6c97f2be325622eb531104392 (patch) | |
tree | 32d19ccf2196231415f3ac42bce1729b3d6a7225 /view | |
parent | 48821a6da5832b5eb843503121871231f78b1103 (diff) | |
download | volse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.tar.gz volse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.tar.bz2 volse-hubzilla-6f93001658e6c3a6c97f2be325622eb531104392.zip |
fix issue with IE
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 6 |
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) { |