diff --git a/jquery.sketchable.memento.js b/jquery.sketchable.memento.js index f41b28c..1bbc4b2 100644 --- a/jquery.sketchable.memento.js +++ b/jquery.sketchable.memento.js @@ -122,7 +122,7 @@ * @return {MementoCanvas} Class instance. */ this.save = function(evt) { - instance.handler(function(elem, data) { + $instance.handler(function(elem, data) { // With multitouch events, only the first event should be used to store a snapshot. // Then, the subsequent multitouch events must update current strokes data. if (evt && evt.identifier > 0) {