summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-02-01 20:01:38 +0200
committerLauri Ojansivu <x@xet7.org>2017-02-01 20:01:38 +0200
commit1ec25c2a52d3bbe4c1613a6f818944aeea19a332 (patch)
tree06520e9119da5fb3eb84d0ac5445ea9aeeb84530
parent5b393756ef8b17a278c9beec039232e138d21fad (diff)
downloadwekan-1ec25c2a52d3bbe4c1613a6f818944aeea19a332.tar.gz
wekan-1ec25c2a52d3bbe4c1613a6f818944aeea19a332.tar.bz2
wekan-1ec25c2a52d3bbe4c1613a6f818944aeea19a332.zip
Fix typos, thanks to umbertooo
-rw-r--r--client/components/boards/boardHeader.js2
-rw-r--r--models/boards.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index b72bb162..a76b566a 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -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();
diff --git a/models/boards.js b/models/boards.js
index 3051ef1e..14943d61 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -249,7 +249,7 @@ Boards.mutations({
return { $set: { title }};
},
- setDesciption(description) {
+ setDescription(description) {
return { $set: {description} };
},