diff options
author | Joas Schilling <coding@schilljs.com> | 2020-04-08 09:19:21 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-04-08 09:19:21 +0300 |
commit | 32583615888fc81c293e9428bdeeaccca50d298c (patch) | |
tree | 584be70d9b120aac1849bb0b713555b5b48d386c /src/mixins | |
parent | 3827f3676a0ee8857e31f05900fa310ff1420af2 (diff) |
Don't show a warning to use the same browser
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/mixins')
-rw-r--r-- | src/mixins/browserCheck.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mixins/browserCheck.js b/src/mixins/browserCheck.js index aac194f96..9fb6fbfef 100644 --- a/src/mixins/browserCheck.js +++ b/src/mixins/browserCheck.js @@ -38,14 +38,17 @@ const browserCheck = { isFullySupported() { return (this.$browserDetect.isFirefox && this.$browserDetect.meta.version >= 52) || (this.$browserDetect.isChrome && this.$browserDetect.meta.version >= 49) + || (this.$browserDetect.isSafari && this.$browserDetect.meta.version >= 12) + || this.$browserDetect.isEdge }, // Disable the call button and show the tooltip blockCalls() { return (this.$browserDetect.isFirefox && this.$browserDetect.meta.version < 52) || (this.$browserDetect.isChrome && this.$browserDetect.meta.version < 49) + || (this.$browserDetect.isSafari && this.$browserDetect.meta.version < 12) || this.$browserDetect.isIE }, - // Used both in the toast and in the callbutton tooltip + // Used both in the toast and in the call button tooltip unsupportedWarning() { return t('spreed', "The browser you're using is not fully supported by Nextcloud Talk. Please use the latest version of Mozilla Firefox, Microsoft Edge, Google Chrome or Apple Safari.") }, @@ -54,7 +57,7 @@ const browserCheck = { if (this.blockCalls) { return this.unsupportedWarning } else { - // Passind a falsy value into the content of the tooltip + // Passing a falsy value into the content of the tooltip // is the only way to disable it conditionally. return false } |