Skip to content
Permalink
Browse files

MDL-59527 autocomplete: Don't fetch ajax twice

  • Loading branch information
Damyon Wiese
Damyon Wiese committed Jul 20, 2017
1 parent c1f1327 commit 07bdc85316b570d271a8a24c739f65caaa26bfd9
Showing with 1 addition and 3 deletions.
  1. +1 −1 lib/amd/build/form-autocomplete.min.js
  2. +0 −2 lib/amd/src/form-autocomplete.js

Some generated files are not rendered by default. Learn more.

@@ -809,8 +809,6 @@ define(['jquery', 'core/log', 'core/str', 'core/templates', 'core/notification']
};
// Trigger an ajax update after the text field value changes.
inputElement.on("input", throttledHandler);
var arrowElement = $(document.getElementById(state.downArrowId));
arrowElement.on("click", handler);
});
}
// Show the current values in the selection list.

0 comments on commit 07bdc85

Please sign in to comment.
You can’t perform that action at this time.