diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js index f43fc4080..70476f7a3 100644 --- a/modules/API/external/external_api.js +++ b/modules/API/external/external_api.js @@ -170,7 +170,7 @@ function parseArguments(args) { switch (typeof firstArg) { case 'string': // old arguments format - case undefined: { + case 'undefined': { // Not sure which format but we are trying to parse the old // format because if the new format is used everything will be undefined // anyway. diff --git a/react/features/mobile/watchos/middleware.js b/react/features/mobile/watchos/middleware.js index 75c5d61f8..be604078c 100644 --- a/react/features/mobile/watchos/middleware.js +++ b/react/features/mobile/watchos/middleware.js @@ -98,7 +98,7 @@ function _appWillMount({ dispatch, getState }) { switch (command) { case CMD_HANG_UP: - if (typeof getCurrentConferenceUrl(getState()) !== undefined) { + if (typeof getCurrentConferenceUrl(getState()) !== 'undefined') { dispatch(appNavigate(undefined)); } break;