remove preview markdown ajax trigger on textarea blur

This commit is contained in:
Mike Greiling 2016-12-27 16:23:57 -06:00
parent aa1c3ab227
commit 8c1f287cb7

View file

@ -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) {