update preview if format is changed, resolves #60

This commit is contained in:
El RIDO 2016-08-11 11:40:37 +02:00
parent 5ec20c1bc2
commit 6144e73405

View File

@ -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);
}
},
/**