diff --git a/index.html b/index.html
index a4f0fa44..f2da254c 100644
--- a/index.html
+++ b/index.html
@@ -74,7 +74,7 @@
$('.add-step').click(function(e) {
e.preventDefault();
sequencer.addStep($('.select-module').val());
- sequencer.run(document.image); // later we might only run this step, if we can fetch the image output from the previous
+ sequencer.run(document.sequencer_image); // later we might only run this step, if we can fetch the image output from the previous
});
diff --git a/src/ImageSequencer.js b/src/ImageSequencer.js
index ed4ae72e..88723dd9 100644
--- a/src/ImageSequencer.js
+++ b/src/ImageSequencer.js
@@ -89,7 +89,7 @@ ImageSequencer = function ImageSequencer(options) {
image.onload = function() {
run(image);
if (callback) callback(image);
- document.image = image;
+ document.sequencer_image = image;
}
image.src = src;
}
diff --git a/src/modules/ImageSelect.js b/src/modules/ImageSelect.js
index 29803c34..6532d3db 100644
--- a/src/modules/ImageSelect.js
+++ b/src/modules/ImageSelect.js
@@ -42,7 +42,7 @@ module.exports = function ImageSelect(options) {
image = new Image();
image.src = event.target.result;
- document.image = image;
+ document.sequencer_image = image;
el.html(image); // may be redundant
// this is done once per image: