commit | edd7e5eef56f7386a92297703a910c619e5b8a9c | [log] [tgz] |
---|---|---|
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Feb 15 22:16:58 2020 +0100 |
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | Sat Feb 15 22:16:58 2020 +0100 |
tree | 91148fd50d22e34bb8f99d617cfc2c9cf94e7cda | |
parent | e5f071f19a0175d72837cce72acc9cb8fe398db9 [diff] |
MlkBookmarkSubmissionForm: Implement disconnectedCallback(). Change-Id: Id93112b47d092711cd533c678901177fa73e3255
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 @@ this.descriptionInput.innerText = this.description || ""; } + disconnectedCallback () { + this.uriInput.removeEventListener('blur', this.onUriBlur.bind(this)); + } + attributeChangedCallback(name /*:string*/, oldValue /*:string*/, newValue /*:string*/) { }