From 631dbf01a1451710b603cf5fc3a48970cd8ca2c3 Mon Sep 17 00:00:00 2001 From: vaasu Date: Sat, 11 May 2019 05:00:04 +0530 Subject: [PATCH] Bug fixes --- .../l2/content/command-prompt/command-prompt.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/components/l2/content/command-prompt/command-prompt.component.ts b/src/app/components/l2/content/command-prompt/command-prompt.component.ts index 5764323..c6adc7e 100644 --- a/src/app/components/l2/content/command-prompt/command-prompt.component.ts +++ b/src/app/components/l2/content/command-prompt/command-prompt.component.ts @@ -5,7 +5,7 @@ import { CardService } from 'src/app/services/cards/card.service.js'; import { Store } from '@ngrx/store'; import { Command, ClearHistory } from 'src/app/store/cards.actions.js'; -import { Card } from '../primary-container/cards/card/Card.model.js'; +import { Card } from '../primary-container/cards/card/card.model'; import * as $config from '../../../../configuration/config.js' import * as $ from 'node_modules/jquery/dist/jquery'; @@ -69,9 +69,9 @@ export class CommandPromptComponent implements OnInit { let SpeechRecognition: any; let instructions: any = $('#command'); try { - SpeechRecognition = window.SpeechRecognition || window.mozSpeechRecognition || window.msSpeechRecognition || window.webkitSpeechRecognition; + // SpeechRecognition = window.SpeechRecognition || window.mozSpeechRecognition || window.msSpeechRecognition || window.webkitSpeechRecognition; //SpeechRecognition = ''; - this.recognition = new SpeechRecognition(); + // this.recognition = new SpeechRecognition(); } catch(e) { console.error(e);