Switch template thumbnails to be generated in jpeg, not png

This commit is contained in:
Tautvidas Sipavičius
2015-11-26 17:20:34 +02:00
parent f37488fc0b
commit 4655b2c64c

View File

@ -67,7 +67,7 @@ define([
jQuery('#mailpoet_editor_content > .mailpoet_block').get(0)
).then(function(thumbnail) {
var data = _.extend(options || {}, {
thumbnail: thumbnail.toDataURL(),
thumbnail: thumbnail.toDataURL('image/jpeg'),
body: App.getBody(),
});
var blob = new Blob(