Skip to content

Commit

Permalink
fix: detection of chrome
Browse files Browse the repository at this point in the history
Fixed reintroduction of #807
  • Loading branch information
nifgraup authored and wuweiweiwu committed Jul 25, 2019
1 parent 50dace4 commit 710fc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Grid/utils/maxElementSize.js
Expand Up @@ -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()) {
Expand Down

0 comments on commit 710fc67

Please sign in to comment.