diff options
author | M. Dent <dentm42@gmail.com> | 2019-01-07 17:09:26 +0100 |
---|---|---|
committer | M. Dent <dentm42@gmail.com> | 2019-01-07 17:09:26 +0100 |
commit | c10c59db4b5f8204bfe24c2491113b4963c96dc7 (patch) | |
tree | 1009ff653318eab5a3c7d92996b6630e88167dae /view | |
parent | 463f084b3e1643ae12c5038b1e6b8ec4bd873fb0 (diff) | |
parent | 6f93001658e6c3a6c97f2be325622eb531104392 (diff) | |
download | volse-hubzilla-c10c59db4b5f8204bfe24c2491113b4963c96dc7.tar.gz volse-hubzilla-c10c59db4b5f8204bfe24c2491113b4963c96dc7.tar.bz2 volse-hubzilla-c10c59db4b5f8204bfe24c2491113b4963c96dc7.zip |
Merge branch 'browser_compatibility' into 'dev'
fix issue with IE
See merge request hubzilla/core!1460
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) { |