Merge pull request #2645 from chrisgarrity/revise-unsupported-browser

Revise unsupported browser
This commit is contained in:
chrisgarrity 2019-01-09 14:48:49 -05:00 committed by GitHub
commit 6cd2b38ad1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,5 @@ import bowser from 'bowser';
* @returns {boolean} False if the platform is definitely not supported. * @returns {boolean} False if the platform is definitely not supported.
*/ */
export default function () { export default function () {
if (bowser.msie || return !bowser.msie;
bowser.vivaldi ||
bowser.opera ||
bowser.silk) {
return false;
}
return true;
} }