Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
kbecker42 committed Sep 19, 2024
1 parent e4f9ee8 commit d6f9da1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions templates/projects/assign_users.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,9 @@

setupTooltips();

$('#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);
$('#assign_users .search-input').on('keyup paste cut delete', function() {
// Initialize tooltips after entering a search term, after the menu is rebuilt.
setupTooltips();
});
});
</script>
Expand Down

0 comments on commit d6f9da1

Please sign in to comment.