Skip to content

Commit

Permalink
fix(FEC-8927): player crash on Echo show browser (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
odedhutzler committed Feb 25, 2019
1 parent 7dbc175 commit f16fea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ function printSetupMessages(): void {
* @returns {boolean} - if browser is Safari
*/
function isSafari(): boolean {
return Env.browser.name.includes('Safari');
return Utils.Object.hasPropertyPath(Env, 'Env.browser.name') && Env.browser.name.includes('Safari');
}
/**
Expand Down

0 comments on commit f16fea0

Please sign in to comment.