File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -198,10 +198,10 @@ var isIEType = function isIEType() {
198198} ;
199199
200200var getBrowserFullVersion = function getBrowserFullVersion ( ) {
201- return _getUaData . browser . major ;
201+ return _getUaData . browser . version ;
202202} ;
203203var getBrowserVersion = function getBrowserVersion ( ) {
204- return _getUaData . browser . version ;
204+ return _getUaData . browser . major ;
205205} ;
206206var getOsVersion = function getOsVersion ( ) {
207207 return _getUaData . os . version ? _getUaData . os . version : "none" ;
Original file line number Diff line number Diff line change 11{
22 "name" : " react-device-detect" ,
3- "version" : " 1.6.3 " ,
3+ "version" : " 1.6.4 " ,
44 "description" : " Detect device type and render your component according to it" ,
55 "main" : " dist/index.js" ,
66 "typings" : " ./index.d.ts" ,
You can’t perform that action at this time.
0 commit comments