mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 20:30:01 +01:00
Moved the .remove to UserInterface.js
This commit is contained in:
@@ -84,7 +84,7 @@ ImageSequencer = function ImageSequencer(options) {
|
||||
for (i=0;i<steps.length;i++) {
|
||||
if (steps[i].options.id == id && steps[i].options.name != 'image-select'){
|
||||
console.log('removing step "'+steps[i].options.name+'"');
|
||||
if (options.inBrowser) $('div#sequencer-'+id).remove();
|
||||
if (options.inBrowser) steps[i].options.ui.remove();
|
||||
steps.splice(i,1);
|
||||
run(options.initialImage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user