Skip to content

Commit 9bc245c

Browse files
author
Jonas Jongejan
committed
Fix edge issue
1 parent 72af83e commit 9bc245c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function init() {
5050
}
5151

5252
// Camera status messages per browser
53-
if (GLOBALS.browserUtils.isChrome) {
53+
if (GLOBALS.browserUtils.isChrome && !GLOBALS.browserUtils.isEdge) {
5454
document.querySelector('.input__media__activate').innerHTML = 'To teach your machine, <span class="input__media__activate--desktop"> you need to click up here to turn on your camera and then <a href="#">refresh the page</a>.</span><span class="input__media__activate--mobile"> you need to <a href="#">refresh the page</a> and allow camera access.</span></p>';
5555

5656
if (!GLOBALS.browserUtils.isCompatable) {

src/ui/components/BrowserUtils.js

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ class BrowserUtils {
8888
}
8989

9090
canvas = undefined;
91+
console.log(support);
9192
return support;
9293
};
9394

0 commit comments

Comments
 (0)