Skip to content

Commit

Permalink
MDL-59527 autocomplete: Don't fetch ajax twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Jul 20, 2017
1 parent c1f1327 commit 07bdc85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/amd/build/form-autocomplete.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions lib/amd/src/form-autocomplete.js
Expand Up @@ -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.
Expand Down

0 comments on commit 07bdc85

Please sign in to comment.