aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-01 18:58:06 -0700
committerzotlabs <mike@macgirvin.com>2017-08-01 18:58:06 -0700
commit01fc5909384035a62d5a733c973e442ade55cc4e (patch)
treec1d246d8c2ac8e80eba35deddb2e75756873c99a /view
parent6e9fb9b9fdef11209a3ee1a85d5ba1d02659e209 (diff)
downloadvolse-hubzilla-01fc5909384035a62d5a733c973e442ade55cc4e.tar.gz
volse-hubzilla-01fc5909384035a62d5a733c973e442ade55cc4e.tar.bz2
volse-hubzilla-01fc5909384035a62d5a733c973e442ade55cc4e.zip
auto preview comments also on media/link add
Diffstat (limited to 'view')
-rw-r--r--view/js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/view/js/main.js b/view/js/main.js
index 54450858a..aaadff99b 100644
--- a/view/js/main.js
+++ b/view/js/main.js
@@ -149,6 +149,7 @@ function insertCommentURL(comment, id) {
textarea = document.getElementById("comment-edit-text-" +id);
textarea.value = textarea.value + data;
+ preview_comment(id);
$('body').css('cursor', 'auto');
});
}