eslint: Enable conditionalAssign config of no-trailing-spaces rule.

This commit is contained in:
Shubham Dhama
2018-06-06 22:20:09 +05:30
committed by showell
parent dcb6254a4e
commit 80a2d5bc59
52 changed files with 166 additions and 171 deletions

View File

@@ -80,7 +80,7 @@ exports.populate_user_groups = function () {
var description = $('#user-groups #' + data.id + ' .description').text().trim();
var name = $('#user-groups #' + data.id + ' .name').text().trim();
if ((group_data.description === description && group_data.name === name) &&
if (group_data.description === description && group_data.name === name &&
(!draft_group.length || same_groups)) {
return false;
}