mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-23 23:35:00 +08:00
hound fix
This commit is contained in:
parent
80b8a8803d
commit
14b71d1374
2 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue