mirror of https://github.com/zulip/zulip.git
compose.js: Fix Jquery selector to use more prominent syntax.
This commit is contained in:
parent
0f2c208a5b
commit
05a21b3729
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue