adding client-side hook whenever composer renders a preview

v1.18.x
Julian Lam 10 years ago
parent 21459fff84
commit 067d1ae404

@ -24,6 +24,7 @@ define('composer/preview', function() {
preview = $(preview);
preview.find('img').addClass('img-responsive');
postContainer.find('.preview').html(preview);
$(window).trigger('action:composer.preview');
callback();
});
}, 250);

Loading…
Cancel
Save