MDL-59527 autocomplete: Don't fetch ajax twice

This commit is contained in:
Damyon Wiese
2017-07-20 10:02:40 +08:00
parent 39bf55dc27
commit e00ed4b740
2 changed files with 1 additions and 3 deletions
File diff suppressed because one or more lines are too long
-2
View File
@@ -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.