Skip to content

Commit bd44756

Browse files
committed
print device name for mobiles in place of browser version
1 parent 81f3e00 commit bd44756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var uuid = function uuidGenerator() {
2424
};
2525

2626
var browserString = function browserString(config) {
27-
return config.os + ' ' + config.os_version + ', ' + titleCase(config.browser || config.device) + ' ' + config.browser_version;
27+
return config.os + ' ' + config.os_version + ', ' + titleCase(config.browser || config.device) + ' ' + (config.browser_version || config.device);
2828
};
2929

3030
var objectSize = function objectSize(obj) {

0 commit comments

Comments
 (0)