... | ... |
@@ -34,7 +34,8 @@ $('.issue-message-preview-tab').on('click', function () { |
34 | 34 |
form.find('.issue-message-preview-area').css('display', 'block'); |
35 | 35 |
|
36 | 36 |
var text = form.find('[name=message]').val(); |
37 |
- |
|
37 |
+ |
|
38 |
+ form.find('.issue-message-preview-area').html(''); |
|
38 | 39 |
$.post('<%= url_for('/api/markdown') %>', {text : text}, function (result) { |
39 | 40 |
var markdown = result.markdown; |
40 | 41 |
form.find('.issue-message-preview-area').html(markdown); |