Commit 8c1f287c authored by Mike Greiling's avatar Mike Greiling

remove preview markdown ajax trigger on textarea blur

parent aa1c3ab2
...@@ -90,12 +90,8 @@ ...@@ -90,12 +90,8 @@
$.fn.setupMarkdownPreview = function () { $.fn.setupMarkdownPreview = function () {
var $form = $(this); var $form = $(this);
$form.find('textarea.markdown-area') $form.find('textarea.markdown-area').on('input', function () {
.on('input', function () {
markdownPreview.hideReferencedUsers($form); markdownPreview.hideReferencedUsers($form);
})
.on('blur', function () {
markdownPreview.showPreview($form);
}); });
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment