DEV: removes _.delay from codebase (#6619)

This commit is contained in:
Joffrey JAFFEUX 2018-11-19 10:47:00 +01:00 committed by Régis Hanol
parent c4ed353fae
commit 30e0d744db

View File

@ -398,10 +398,8 @@ export default function(options) {
$(window).on("click.autocomplete", () => closeAutocomplete());
$(this).on("click.autocomplete", () => closeAutocomplete());
$(this).on("paste.autocomplete", function() {
_.delay(function() {
me.trigger("keydown");
}, 50);
$(this).on("paste.autocomplete", () => {
Ember.run.later(() => me.trigger("keydown"), 50);
});
function checkTriggerRule(opts) {