update preview if format is changed, resolves #60
This commit is contained in:
parent
5ec20c1bc2
commit
6144e73405
|
@ -1290,6 +1290,10 @@ $(function() {
|
|||
var target = $(event.target);
|
||||
$('#pasteFormatter').val(target.data('format'));
|
||||
$('#pasteFormatterDisplay').text(target.text());
|
||||
|
||||
if (this.messagePreview.parent().hasClass('active')) {
|
||||
this.viewPreview(event);
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue