aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Dent <dentm42@gmail.com>2019-01-07 17:09:26 +0100
committerM. Dent <dentm42@gmail.com>2019-01-07 17:09:26 +0100
commitc10c59db4b5f8204bfe24c2491113b4963c96dc7 (patch)
tree1009ff653318eab5a3c7d92996b6630e88167dae
parent463f084b3e1643ae12c5038b1e6b8ec4bd873fb0 (diff)
parent6f93001658e6c3a6c97f2be325622eb531104392 (diff)
downloadvolse-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
-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) {