From 22b8b6ab205eb2fe7abcd3fedfc108de12ef61d9 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 14 May 2015 14:27:39 +0200 Subject: Style tweaks Follows strictly jshint and jscs rules. --- client/components/cards/details.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/components/cards/details.js') 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(); }, -- cgit v1.2.3-1-g7c22