From 44196052474f5ed12573dd19fcbac8a461d94292 Mon Sep 17 00:00:00 2001 From: Kory Becker Date: Wed, 18 Sep 2024 16:39:28 -0400 Subject: [PATCH] Update tooltip on keyup and paste (when searching). --- templates/projects/assign_users.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/templates/projects/assign_users.html b/templates/projects/assign_users.html index 4b5894be..d510d3f2 100644 --- a/templates/projects/assign_users.html +++ b/templates/projects/assign_users.html @@ -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() {