Merge pull request #2814 from brkcvn/master
Unused control ejected from Contact Card component
This commit is contained in:
commit
a9c98c35ab
@ -567,7 +567,7 @@ export default {
|
||||
},
|
||||
|
||||
closeIfClickedOutside(event) {
|
||||
if (!document.getElementById('select-contact-card-' + this._uid).contains(event.target) && event.target.className != 'btn btn-link p-0') {
|
||||
if (!document.getElementById('select-contact-card-' + this._uid).contains(event.target)) {
|
||||
this.show.contact_list = false;
|
||||
|
||||
document.removeEventListener('click', this.closeIfClickedOutside);
|
||||
|
Loading…
x
Reference in New Issue
Block a user