Skip to content
Snippets Groups Projects
Commit 1f9a3dd1 authored by Igor Minar's avatar Igor Minar Committed by GitHub
Browse files

fix(aio): fix typo in web worker check (#17133)

parent 11505fa0
No related merge requests found
......@@ -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();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment