compose.js: Fix Jquery selector to use more prominent syntax.

This commit is contained in:
Aditya Bansal 2017-07-09 02:59:59 +05:30 committed by Steve Howell
parent 0f2c208a5b
commit 05a21b3729
1 changed files with 2 additions and 1 deletions

View File

@ -656,8 +656,9 @@ exports.initialize = function () {
var new_row = templates.render("compose-invite-users",
{email: email, name: data.mentioned.full_name});
var error_area = $("#compose_invite_users");
var existing_invites_area = $('#compose_invite_users .compose_invite_user');
var existing_invites = _.map($(".compose_invite_user", error_area), function (user_row) {
var existing_invites = _.map($(existing_invites_area), function (user_row) {
return $(user_row).data('useremail');
});