mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:52:02 +08:00
DEV: removes _.delay from codebase (#6619)
This commit is contained in:
parent
c4ed353fae
commit
30e0d744db
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user