summaryrefslogtreecommitdiffstats
path: root/client/components/cards/details.js
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-05-14 14:27:39 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-05-14 14:28:47 +0200
commit22b8b6ab205eb2fe7abcd3fedfc108de12ef61d9 (patch)
tree14a8af5ef9ac4829c12317fe0ea4460d84f5c799 /client/components/cards/details.js
parentfbc4c5e82ef75c6cbf37245c4eec30f4492f9dcc (diff)
downloadwekan-22b8b6ab205eb2fe7abcd3fedfc108de12ef61d9.tar.gz
wekan-22b8b6ab205eb2fe7abcd3fedfc108de12ef61d9.tar.bz2
wekan-22b8b6ab205eb2fe7abcd3fedfc108de12ef61d9.zip
Style tweaks
Follows strictly jshint and jscs rules.
Diffstat (limited to 'client/components/cards/details.js')
-rw-r--r--client/components/cards/details.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/components/cards/details.js b/client/components/cards/details.js
index a4fe89a3..cb1a3ef3 100644
--- a/client/components/cards/details.js
+++ b/client/components/cards/details.js
@@ -53,7 +53,7 @@ BlazeComponent.extendComponent({
event.preventDefault();
},
- 'click .js-cancel-edit': function(event, t) {
+ 'click .js-cancel-edit': function() {
// remove editing hide.
$('.editing').removeClass('editing');
},
@@ -64,8 +64,8 @@ BlazeComponent.extendComponent({
$set: {
title: title
}
- }, function (err, res) {
- if (!err) $('.editing').removeClass('editing');
+ }, function(err) {
+ if (! err) $('.editing').removeClass('editing');
});
}
@@ -77,7 +77,7 @@ BlazeComponent.extendComponent({
description: t.find('#desc').value
}
}, function(err) {
- if (!err) $('.editing').removeClass('editing');
+ if (! err) $('.editing').removeClass('editing');
});
event.preventDefault();
},