remove preview markdown ajax trigger on textarea blur
This commit is contained in:
parent
aa1c3ab227
commit
8c1f287cb7
1 changed files with 3 additions and 7 deletions
|
@ -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 a new issue