diff --git a/js/model/Layer.js b/js/model/Layer.js index 57b5f66b..0132e6a6 100644 --- a/js/model/Layer.js +++ b/js/model/Layer.js @@ -63,7 +63,7 @@ ns.Layer.prototype.duplicateFrame = function (frame) { var index = this.frames.indexOf(frame); - this.duplicateFrameAt(); + this.duplicateFrameAt(index); }; ns.Layer.prototype.duplicateFrameAt = function (index) {