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

remove preview markdown ajax trigger on textarea blur

parent aa1c3ab2
......@@ -90,13 +90,9 @@
$.fn.setupMarkdownPreview = function () {
var $form = $(this);
$form.find('textarea.markdown-area')
.on('input', function () {
markdownPreview.hideReferencedUsers($form);
})
.on('blur', function () {
markdownPreview.showPreview($form);
});
$form.find('textarea.markdown-area').on('input', function () {
markdownPreview.hideReferencedUsers($form);
});
};
$(document).on('markdown-preview:show', function (e, $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