update tests

This commit is contained in:
Sharon Kennedy
2020-04-29 11:31:23 -04:00
parent 20a90f2d97
commit c5b15034eb
6 changed files with 15 additions and 20 deletions

View File

@@ -75,12 +75,10 @@ class ChatBox extends React.Component {
let isMobile = false;
if ( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
console.log('navigator.userAgent', navigator.userAgent)
isMobile = true;
}
if (screen.width < 767) {
console.log('screen.width', screen.width)
isMobile = true;
}