hound fix

This commit is contained in:
Giga Chubinidze 2023-06-01 14:24:27 +04:00
parent 80b8a8803d
commit 14b71d1374
2 changed files with 3 additions and 3 deletions

View file

@ -257,8 +257,8 @@ var ExperimnetTable = {
initManageUsersDropdown: function() {
$(this.table).on('show.bs.dropdown', '.assign-users-dropdown', (e) => {
setTimeout(() => {
$('.sci-input-field.user-search').each(function(index) {
this.focus()
$('.sci-input-field.user-search').each(function() {
this.focus();
});
}, 200);
let usersList = $(e.target).find('.users-list');

View file

@ -80,7 +80,7 @@
modal.off('show.bs.modal').on('show.bs.modal', function() {
setTimeout(() => {
$('.modal-invite-users').find('.search-field')[0].focus()
$('.modal-invite-users').find('.search-field')[0].focus();
}, 200);
// This cannot be scoped outside this function
// because it is generated via JS