diff --git a/examples/lib/defaultHtmlSequencerUi.js b/examples/lib/defaultHtmlSequencerUi.js index a3858ba902..96b9543f46 100644 --- a/examples/lib/defaultHtmlSequencerUi.js +++ b/examples/lib/defaultHtmlSequencerUi.js @@ -27,7 +27,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) { function removeStepUi() { var index = $(removeStepSel).index(this) + 1; - sequencer.removeSteps(index).run({index : sequencer.images.image1.steps.length-1}); + sequencer.removeSteps(index).run({index : index-1}); // remove from URL hash too setUrlHashParameter("steps", sequencer.toString()); } diff --git a/package.json b/package.json index 622077a0bb..3aa53ca8b9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "image-sequencer", - "version": "2.0.0", + "version": "2.1.0", "description": "A modular JavaScript image manipulation library modeled on a storyboard.", "main": "src/ImageSequencer.js", "scripts": {