bugfix: removed contacts don't come back after restart
This commit is contained in:
parent
c50f57fcfe
commit
b32e51913a
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ ContactList.prototype.rmContact = function(name) {
|
|||
if (this.lst.children[i].children[0].innerHTML === name) {
|
||||
this.lst.removeChild(this.lst.children[i]);
|
||||
delete this.contacts[name];
|
||||
this.save();
|
||||
break ;
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue