diff options
author | André Luís <aluis@gitlab.com> | 2018-07-31 20:24:16 +0100 |
---|---|---|
committer | André Luís <aluis@gitlab.com> | 2018-08-01 15:26:57 +0100 |
commit | 8047b00fb6b315bdeb86525cc05b447a8defcb54 (patch) | |
tree | aa4ad9b84d23fba8cbafde74f37e336c352e4378 /app/assets/javascripts/autosave.js | |
parent | 677136741f58b1e159dc597da63662f29fcc1c0b (diff) | |
download | gitlab-ce-8047b00fb6b315bdeb86525cc05b447a8defcb54.tar.gz |
Reapply "Merge branch '_acet-fix-mr-autosave' into 'master'"
This reverts commit bd5b177b0fc48d77b5069b112faf36d151221be7.
Diffstat (limited to 'app/assets/javascripts/autosave.js')
-rw-r--r-- | app/assets/javascripts/autosave.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/autosave.js b/app/assets/javascripts/autosave.js index fa00a3cf386..e8c59fab609 100644 --- a/app/assets/javascripts/autosave.js +++ b/app/assets/javascripts/autosave.js @@ -53,4 +53,8 @@ export default class Autosave { return window.localStorage.removeItem(this.key); } + + dispose() { + this.field.off('input'); + } } |