remove preview markdown ajax trigger on textarea blur
This commit is contained in:
parent
aa1c3ab227
commit
8c1f287cb7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue