From 1f9a3dd1e6cef722695aa8364ef269aa7366d515 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 31 May 2017 05:43:55 -0500 Subject: [PATCH] fix(aio): fix typo in web worker check (#17133) --- aio/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/src/app/app.component.ts b/aio/src/app/app.component.ts index 933f1ce228..546c2b2057 100644 --- a/aio/src/app/app.component.ts +++ b/aio/src/app/app.component.ts @@ -109,7 +109,7 @@ export class AppComponent implements OnInit { ngOnInit() { // Do not initialize the search on browsers that lack web worker support - if ('worker' in window) { + if ('Worker' in window) { this.searchService.initWorker('app/search/search-worker.js'); this.searchService.loadIndex(); }