mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-12 11:20:02 +01:00
Fixes disabling of clicking after crop is deleted and added test for the cropUI (#1481)
* crop-ui * crop-ui * Added test * Adding test * improving comments Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
committed by
Jeffrey Warren
parent
1a0f4d4042
commit
d1b9b8becc
@@ -418,7 +418,9 @@ function DefaultHtmlStepUi(_sequencer, options) {
|
||||
if (_sequencer.steps.length - 1 > 1) $('#load-image .insert-step').prop('disabled', false);
|
||||
else $('#load-image .insert-step').prop('disabled', true);
|
||||
|
||||
$('div[class*=imgareaselect-]').remove();
|
||||
$(step.imgElement).imgAreaSelect({
|
||||
remove: true
|
||||
});
|
||||
}
|
||||
|
||||
function getPreview() {
|
||||
|
||||
Reference in New Issue
Block a user