Fix typos, thanks to umbertooo

This commit is contained in:
Lauri Ojansivu 2017-02-01 20:01:38 +02:00
parent 5b393756ef
commit 1ec25c2a52
2 changed files with 2 additions and 2 deletions

View file

@ -33,7 +33,7 @@ Template.boardChangeTitlePopup.events({
const newDesc = tpl.$('.js-board-desc').val().trim();
if (newTitle) {
this.rename(newTitle);
this.setDesciption(newDesc);
this.setDescription(newDesc);
Popup.close();
}
evt.preventDefault();

View file

@ -249,7 +249,7 @@ Boards.mutations({
return { $set: { title }};
},
setDesciption(description) {
setDescription(description) {
return { $set: {description} };
},