Commit 3a3c640e authored by Fatih Acet's avatar Fatih Acet

Fix resetting autosave value after cancel.

parent 3dd556f2
......@@ -14,7 +14,7 @@ export default class Autosave {
this.key = 'autosave/' + key;
this.field.data('autosave', this);
this.restore();
this.field.on('input', this.debounceInputHandler());
this.field.on('keyup', this.debounceInputHandler());
}
debounceInputHandler() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment