From 3866debae91e1a11c8d89e466bb8ecc72c5b48d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 8 Jun 2022 14:09:46 +0200 Subject: [PATCH] Angular: Fixes minor mistake in previous bsTypeahead PR (#50411) --- public/app/angular/bsTypeahead.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/angular/bsTypeahead.ts b/public/app/angular/bsTypeahead.ts index 515f82994ba..b604bef52a8 100644 --- a/public/app/angular/bsTypeahead.ts +++ b/public/app/angular/bsTypeahead.ts @@ -35,8 +35,8 @@ coreModule.directive('bsTypeahead', [ return value; }, }); - var typeahead = element.dat('typeahead'); - typeahead.lookup = function (ev: any) { + var typeahead = element.data('typeahead'); + typeahead.lookup = function () { var items; this.query = this.$element.val() || ''; if (this.query.length < this.options.minLength) {