From 085226399d827585f3179292209828328dcfb9b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rgvin=20Ragnarsson?= Date: Mon, 8 Apr 2019 13:55:24 +0300 Subject: [PATCH] webstore API doesn't exist anymore, can't be used to identify Chromium based browsers Fixed reintroduction of #807 --- source/Grid/utils/maxElementSize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Grid/utils/maxElementSize.js b/source/Grid/utils/maxElementSize.js index 506c0c5b6..618c08dab 100644 --- a/source/Grid/utils/maxElementSize.js +++ b/source/Grid/utils/maxElementSize.js @@ -5,7 +5,7 @@ const CHROME_MAX_ELEMENT_SIZE = 1.67771e7; const isBrowser = () => typeof window !== 'undefined'; -const isChrome = () => !!window.chrome && !!window.chrome.webstore; +const isChrome = () => !!window.chrome; export const getMaxElementSize = (): number => { if (isBrowser()) {