Skip to content
Snippets Groups Projects
Commit 8c1f287c authored by Mike Greiling's avatar Mike Greiling
Browse files

remove preview markdown ajax trigger on textarea blur

parent aa1c3ab2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment