mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
preview optimization (#1573)
Co-authored-by: Rishabh Shukla <42492389+blurry-x-face@users.noreply.github.com> Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
@@ -10,6 +10,7 @@ function generatePreview(previewStepName, customValues, path, DomNode) {
|
||||
$(img).css('transform', 'translateX(-20%)');
|
||||
$(DomNode.querySelector('.radio-group')).find('.radio').each(function() {
|
||||
if ($(this).attr('data-value') === previewStepName) {
|
||||
$(this).find('img').remove();
|
||||
$(this).append(img);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user