mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Style tweaks
Follows strictly jshint and jscs rules.
This commit is contained in:
parent
fbc4c5e82e
commit
22b8b6ab20
8 changed files with 23 additions and 19 deletions
|
|
@ -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();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue