Commit 1f2d2511 authored by Fatih Acet's avatar Fatih Acet

Add dispose method to autosave mixin.

parent 46e1eb1c
......@@ -53,4 +53,8 @@ export default class Autosave {
return window.localStorage.removeItem(this.key);
}
dispose() {
this.field.off('input');
}
}
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