We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b1e3d commit d535e16Copy full SHA for d535e16
src/js/utils/browser.js
@@ -154,7 +154,7 @@ export const TOUCH_ENABLED = Boolean(Dom.isReal() && (
154
155
const UAD = window.navigator && window.navigator.userAgentData;
156
157
-if (UAD) {
+if (UAD && UAD.platform && UAD.brands) {
158
// If userAgentData is present, use it instead of userAgent to avoid warnings
159
// Currently only implemented on Chromium
160
// userAgentData does not expose Android version, so ANDROID_VERSION remains `null`
0 commit comments