diff --git a/src/salieo.js b/src/salieo.js index 9a1a5b6..7451440 100644 --- a/src/salieo.js +++ b/src/salieo.js @@ -295,7 +295,7 @@ function salieo(userOptions) { var tmpElementRect; for(var i = 0; i < loadedImages.length; i++) { loadedImages[i].elementRect = loadedImages[i].element.getBoundingClientRect(); - loadedImages[i].cropOptions = options.crop_options; + loadedImages[i].cropOptions = Object.create(options.crop_options); addAvoidArea(loadedImages[i], avoidAreas); addAttributes(loadedImages[i]);