Widget:Companies/Search: Difference between revisions

From TwogPedia
mNo edit summary
mNo edit summary
Line 36: Line 36:
   // Name input to run 500ms after last input
   // Name input to run 500ms after last input
   let timeoutId;
   let timeoutId;
   document.getElementById('location__name').addEventListener('input', function() {
   document.getElementById('companies__name').addEventListener('input', function() {
       // Clear previous timeout (if any)
       // Clear previous timeout (if any)
       clearTimeout(timeoutId);
       clearTimeout(timeoutId);

Revision as of 16:55, 26 March 2024