mirror of https://github.com/luileito/jsketch.git
Fix memento plugin: return modified options (not defaults!)
This commit is contained in:
parent
d3b5b5683a
commit
f9b8ac8524
|
|
@ -190,7 +190,7 @@
|
|||
callbacks[ev].apply(elem, args);
|
||||
}
|
||||
} else {
|
||||
plugin.defaults.events[ev] = callbacks[ev];
|
||||
options.events[ev] = callbacks[ev];
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -216,7 +216,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
return plugin.defaults;
|
||||
return options;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue