diff --git a/select2/select2-tests.ts b/select2/select2-tests.ts index e294193a0..5712fc2d3 100644 --- a/select2/select2-tests.ts +++ b/select2/select2-tests.ts @@ -102,7 +102,7 @@ $("#e7").select2({ ajax: { url: "http://api.rottentomatoes.com/api/public/v1.0/movies.json", dataType: 'jsonp', - quietMillis: 100, + delay: 100, data: function (term, page) { return { q: term, diff --git a/select2/select2.d.ts b/select2/select2.d.ts index 66cfb2626..9cfaa2d95 100644 --- a/select2/select2.d.ts +++ b/select2/select2.d.ts @@ -25,7 +25,7 @@ interface Select2AjaxOptions { */ url?: any; dataType?: string; - quietMillis?: number; + delay?: number; cache?: boolean; data?: (term: string, page: number, context: any) => any; results?: (term: any, page: number, context: any) => any;