Skip to content

Commit

Permalink
Update tooltip on keyup and paste (when searching).
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Sep 18, 2024
1 parent af56e2c commit 4419605
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions templates/projects/assign_users.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@
}, 0);
});
});

$('#assign_users .search-input').keyup(function() {
// Initialize tooltips after entering a search term, after the menu is rebuilt.
setTimeout(() => {
setupTooltips();
}, 0);
});

$('#assign_users .search-input').on('paste', function() {
// Initialize tooltips after entering a search term, after the menu is rebuilt.
setTimeout(() => {
setupTooltips();
}, 0);
});
}

$(document).ready(function() {
Expand Down

0 comments on commit 4419605

Please sign in to comment.