diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-15 22:16:58 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-02-15 22:16:58 +0100 |
commit | edd7e5eef56f7386a92297703a910c619e5b8a9c (patch) | |
tree | 91148fd50d22e34bb8f99d617cfc2c9cf94e7cda /src/main/resources/META-INF | |
parent | e5f071f19a0175d72837cce72acc9cb8fe398db9 (diff) |
MlkBookmarkSubmissionForm: Implement disconnectedCallback().
Change-Id: Id93112b47d092711cd533c678901177fa73e3255
Diffstat (limited to 'src/main/resources/META-INF')
-rw-r--r-- | src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js b/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js index 4d9b40c..520aa32 100644 --- a/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js +++ b/src/main/resources/META-INF/resources/bookmarks/MlkBookmarkSubmissionForm.js @@ -70,6 +70,10 @@ export class MlkBookmarkSubmissionForm extends HTMLElement { this.descriptionInput.innerText = this.description || ""; } + disconnectedCallback () { + this.uriInput.removeEventListener('blur', this.onUriBlur.bind(this)); + } + attributeChangedCallback(name /*:string*/, oldValue /*:string*/, newValue /*:string*/) { } |